Post Variable and API Reference

 

Welcome ››

 

Previous

Introduction

This topic contains the reference for all posting variables and API calls used in post processor modification and scripting.

 

Post Command Variables

The following section of variables are the overall posting engine variables to modify the output of the posted code.

Command Variables

debug_off

Mill Job

Turn off automatic debug comments in post output

Lathe Job

Mill Turn Job

 

debug_on

Mill Job

Turn on automatic debug comments in post output

Lathe Job

Mill Turn Job

 

default_add_spaces

Mill Job

Set add spaces back to condition before force_no_add_spaces was called.

Lathe Job

Mill Turn Job

 

force_drill_z

Mill Job

Force the Z value for drilling to be output next time even if modal.

Lathe Job

Mill Turn Job

 

force_no_add_spaces

Mill Job

Force no spaces even when default is set to add spaces.

Lathe Job

Mill Turn Job

 

force_x

Mill Job

Force the X value to be output next time even if modal. It needs to be called before the X axis output variable.

Lathe Job

Mill Turn Job

 

force_y

Mill Job

Force the Y value to be output next time even if modal. It needs to be called before the Y axis output variable

Lathe Job

Mill Turn Job

 

force_z

Mill Job

Force the Z value to be output next time even if modal. It needs to be called before the Z axis output variable

Lathe Job

Mill Turn Job

 

memorize_line_number

Mill Job

Memorize sequence number for use later with the memorized_line_number variable.

Lathe Job

Mill Turn Job

 

memorized_line_number

Mill Job

Use memorized sequence number.

Lathe Job

Mill Turn Job

 

newvars

Mill Job

Use new position variables and Misc. variables.

Lathe Job

Mill Turn Job

 

oldvars

Mill Job

Use old position variables and Misc. variables.

Lathe Job

Mill Turn Job

 

start_add_block_delete

Mill Job

Add block delete to all lines until stop_add_block_delete variable is used.

Lathe Job

Mill Turn Job

 

stop_add_block_delete

Mill Job

Stop adding block delete characters that were started from using start_add_block_delete variable.

Lathe Job

Mill Turn Job

 

output_tool_list

Mill Job

Signals the output of the tool list

Mill Turn Job

 

output_lathe_tool_list

Lathe Job

Signals the output of the tool list.

 

output_stock-_definition

Mill Job

Signals the output of the stock definition

Mill Turn Job

 

Misc Characters

 

cr_lf

Mill Job

Outputs the carriage return and line feed characters on the line.

Lathe Job

Mill Turn Job

 

single_quote

Mill Job

Outputs the single quote character.

Lathe Job

Mill Turn Job

 

quote

Mill Job

Outputs the double quote character.

Lathe Job

Mill Turn Job

 

charout_xx

Mill Job

Outputs any Unicode character. The xx can be a decimal, octal, and hexadecimal value of the Unicode character. If using a decimal value do not use the prefix 0 as it will be treated as octal value. This variable was added to BobCAD-CAM V35 and BobCAM for SOLIDWORKS V10 SP1.


For example, use charout_39 to output apostrophe. Here 39 is the decimal value used for the apostrophe.

If specifying as hexadecimal value , then the format should be charout_0x27 to output the apostrophe. 


Use this Wiki link as reference to see the decimal, octal, and hexadecimal codes for different Unicode characters. 


Further explanation on the usage of this Post variable is found under the description section of the Post question 228 (Support Unicode Output? ) that is used to set the Posting engine to support the unicode characters or not. 


Lathe Job

Mill Turn Job

 

n_spaces

Mill Job

Outputs spaces in the code. The number of spaces output is determined by the number of digits of the previous line number.

Lathe Job

Mill Turn Job

Post Variables

The following is a list of all the available post variables to be utilized in the system.

 

absolute_coord

Mill Job

Outputs code to set the coordinates output to absolute mode defined by post question :620

Mill Turn Job

 

incremental_coord

Mill Job

Outputs the string value defined in post question: 621 and sets the output mode to incremental.

Mill Turn Job

 

inch_mode

Mill Job

Outputs the string value defined in post question: 614 and sets the output mode to Inch.

Mill Turn Job

 

metric_mode

Mill Job

Outputs the string value defined in post question: 615 and sets the output mode to Metric.

Mill Turn Job

 

h

Mill Job

Output length offset register with prefix. Prefix defined on post question: 688
 
API:
short MILL_GetLengthOffsetNumber()
short LATHE_GetLengthOffsetNumber()
short MILLTURN_GetLengthOffsetNumber()

Lathe Job

Mill Turn Job

 

part_height

Mill Job

Output the part height with prefix from post question: 648
 
API:
short MILL_GetPartHeight()
short MILLTURN_GetPartHeight()

Mill Turn Job

 

part_length

Mill Job

Output the part length with NO prefix.
  
API:
short MILL_GetPartLength()
short MILLTURN_GetPartLength()

Mill Turn Job


part_width

Mill Job

Output the part width with NO prefix.
  
API:
short MILL_GetPartWidth()
short MILLTURN_GetPartWidth()

Mill Turn Job

 

Part Setup

 

work_coord

Mill Job

Outputs the work coordinate string value based on the selected work offset. Maximum work offsets are defined by post question: 258. Work offset string values are assigned for each work offset starting at post question: 900 and go through post question 999.

 

API:

short MILL_GetWorkCoordNumber()

short MILLTURN_GetWorkCoordNumber()

Mill Turn Job

 

work_coord_1 through work_coord_99

Mill Job

Outputs the work coordinate string value for a specific work coordinate. Work offset string values are assigned for each work offset starting a post question: 900 and go through post question 999.

 

 

API:

short MILL_GetWorkCoordNumberCode(int)

short MILLTURN_GetWorkCoordNumberCode(int)

int=1 through 99

Example: var = MILL_GetWorkCoordNumberCode(1)

Mill Turn Job

 

clearance_face

Lathe Job

Returns the clearance value for the face of the part defined in the machine setup. Prefix is defined on post question: 1886

 

API:

double LATHE_GetClearanceFace()

Mill Turn Job

 

clearance_diameter

Lathe Job

Returns the clearance value for the diameter of the part defined in the machine setup. Prefix is defined on post question: 1887

 

API:

double LATHE_GetClearanceDiameter()

Mill Turn Job

 

clearance_internal_diameter

Lathe Job

Returns the clearance value from the internal diameter of the part, defined in the machine setup. The prefix is defined on post question: 1888.
 
API:
double LATHE_GetClearanceInternalDiameter()

Mill Turn Job

 

Positioning

 

xr

Mill Job

Returns the X axis rapid location with the prefix defined by post question:  684
 
API:
double MILL_GetXRapid()
double LATHE_GetXRapid()

Lathe Job

Mill Turn Job

Returns the X axis rapid location with the prefix defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 684 will be used.

 

API:

double MILL_GetXRapid()

double LATHE_GetXRapid()

 

yr

Mill Job

Returns the Y axis rapid location with the prefix defined by post question:  685
 
API:
double MILL_GetYRapid()
double LATHE_GetYRapid()

Lathe Job

Mill Turn Job

Returns the Y axis rapid location with the prefix defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 685 will be used.

 

API:

double MILL_GetYRapid()

double LATHE_GetYRapid()

 

zr

Mill Job

Returns the Z axis rapid location with the prefix defined by post question:  686
 
API:
double MILL_GetZRapid()
double LATHE_GetZRapid()

Lathe Job

Mill Turn Job

Returns the Z axis rapid location with the prefix defined by the post mapping section of the post processor.

 

The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 686 will be used.

 

API:

double MILL_GetZRapid()

double LATHE_GetZRapid()

 

MILL_SetXRapid(double var) - API Only

Mill Job

Sets the current rapid location for the X axis using a double variable
 
API:
MILL_SetXRapid(variable_name)

Mill Turn Job

 

LATHE_SetXRapid(double var) - API Only

Lathe Job

Sets the current rapid location for the X axis using a double variable
 
API:
LATHE_SetXRapid(variable_name)

Mill Turn Job

  

MILL_SetYRapid(double var) - API Only

Mill Job

Sets the current rapid location for the Y axis using a double variable
 
API:
MILL_SetYRapid(variable_name)

Mill Turn Job

 

LATHE_SetZRapid(double var) - API Only

Lathe Job

Sets the current rapid location for the Z axis using a double variable
 
API:
LATHE_SetZRapid(variable_name)

Mill Turn Job

 

initpos_x

Mill Job

Outputs the first X position of the operation based on the previous operation Move list coordinates mode. If its first operation, outputs coordinates as No Machine Compensation mode. Prefix is defined in the post question 684.

NOTE - To be ideally used in start, tool change, null tool change, 30& 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP


API : GetDoubleOfPostVariable(“variable_name”)

Mill Turn Job

 

initpos_y

Mill Job

Outputs the first Y position of the operation based on the previous operation Move list coordinates mode. If its first operation, outputs coordinates as No Machine Compensation mode. Prefix is defined in the post question 685.


NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP


API: GetDoubleOfPostVariable(“variable_name”)

Mill Turn Job

 

initpos_z

Mill Job

Outputs the first Z position of the operation based on the previous operation Move list coordinates mode. If its first operation, outputs coordinates as No Machine Compensation mode. Prefix is defined in the post question 686.


NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP


API: GetDoubleOfPostVariable(“variable_name”)

Mill Turn Job

 

initpos_nocomp_x

Mill Job

Outputs the first X position of the operation in No Machine Compensation Move list coordinates mode. Prefix is defined in the post question 684.


NOTE  - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP 


API: GetDoubleOfPostVariable(“variable_name”) 

Mill Turn Job

 

initpos_nocomp_y

Mill Job

Outputs the first Y position of the operation in No Machine Compensation Move list coordinates mode. Prefix is defined in the post question 685.


NOTE  - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP 


API: GetDoubleOfPostVariable(“variable_name”) 

Mill Turn Job

 

initpos_nocomp_z

Mill Job

Outputs the first Z position of the operation in No Machine Compensation Move list coordinates mode. Prefix is defined in the post question 686.


NOTE  - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP 


API: GetDoubleOfPostVariable(“variable_name”) 

Mill Turn Job

 

initpos_zcomp_x

Mill Job

Outputs the first X position of the operation in Machine Compensation in Z only Move list coordinates mode. Prefix is defined in the post question 684


NOTE  - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP 


API: GetDoubleOfPostVariable(“variable_name”) 

Mill Turn Job

 

initpos_zcomp_y

Mill Job

Outputs the first Y position of the operation in Machine Compensation in Z only Move list coordinates mode. Prefix is defined in the post question 685


NOTE  - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP 


API: GetDoubleOfPostVariable(“variable_name”) 

Mill Turn Job

 

initpos_zcomp_z

Mill Job

Outputs the first Z position of the operation in Machine Compensation in Z only Move list coordinates mode. Prefix is defined in the post question 686


NOTE  - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP 


API: GetDoubleOfPostVariable(“variable_name”) 

Mill Turn Job

 

initpos_hybridcomp_x 

Mill Job

Outputs the first X position of the operation in Machine Hybrid Compensation(Mixed Mode) Move list coordinates mode. Prefix is defined in the post question 684.


NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP 


API: GetDoubleOfPostVariable(“variable_name”) 


Mill Turn Job

 

initpos_hybridcomp_y

Mill Job

Outputs the first Y position of the operation in Machine Hybrid Compensation(Mixed Mode) Move list coordinates mode. Prefix is defined in the post question 685


NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP 


API: GetDoubleOfPostVariable(“variable_name”) 


Mill Turn Job

 

initpos_hybridcomp_z

Mill Job

Outputs the first Z position of the operation in Machine Hybrid Compensation(Mixed Mode) Move list coordinates mode. Prefix is defined in the post question 686.


NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP 


API: GetDoubleOfPostVariable(“variable_name”) 


Mill Turn Job

 

initpos_tcp_x

Mill Job

Outputs the first X position of the operation in Part Based (Common for TCP) Move list coordinates mode. Prefix is defined in the post question 684.


API: GetDoubleOfPostVariable(“variable_name”)


Mill Turn Job

 

initpos_tcp_y

Mill Job

Outputs the first Y position of the operation in Part Based (Common for TCP) Move list coordinates mode. Prefix is defined in the post question 685.


API: GetDoubleOfPostVariable(“variable_name”)


Mill Turn Job

 

initpos_tcp_z

Mill Job

Outputs the first Z position of the operation in Part Based (Common for TCP) Move list coordinates mode. Prefix is defined in the post question 686.


API: GetDoubleOfPostVariable(“variable_name”)


Mill Turn Job

 

initpos_origintracking_x

Mill Job

Outputs the first X position of the operation in Origin Tracking Move list coordinates mode. Prefix is defined in the post question 684.


API: GetDoubleOfPostVariable(“variable_name”)


Mill Turn Job

 

initpos_origintracking_y

Mill Job

Outputs the first Y position of the operation in Origin Tracking Move list coordinates mode. Prefix is defined in the post question 685.


API: GetDoubleOfPostVariable(“variable_name”)


Mill Turn Job

 

initpos_origintracking_z

Mill Job

Outputs the first Z position of the operation in Origin Tracking Move list coordinates mode. Prefix is defined in the post question 686.


API: GetDoubleOfPostVariable(“variable_name”)


Mill Turn Job


xr_no_output

Mill Job

Updates modality with the new position but does not output the position to the NC file.

Lathe Job

Mill Turn Job


yr_no_output

Mill Job

Updates modality with the new position but does not output the position to the NC file.

Lathe Job

Mill Turn Job


zr_no_output

Mill Job

Updates modality with the new position but does not output the position to the NC file.

Lathe Job

Mill Turn Job


xf_no_output

Mill Job

Updates modality with the new position but does not output the position to the NC file.

Lathe Job

Mill Turn Job


yf_no_output

Mill Job

Updates modality with the new position but does not output the position to the NC file.

Lathe Job

Mill Turn Job


zf_no_output

Mill Job

Updates modality with the new position but does not output the position to the NC file.

Lathe Job

Mill Turn Job

 

xh

Lathe Job

Returns the X axis home position with the prefix defined by the post question 684. The value comes from the X Home position defined in the operations Rapids page.

 

API:

double LATHE_GetXHome()

Mill Turn Job

Returns the X axis home position with the prefix for Lathe features only. Milling features currently do not have any parameters to set this value. The value for Lathe features come from the X Home position defined in the operations Rapids page.

 

The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 684 will be used.

 

API:

double LATHE_GetXHome()


yh

Mill Job

N/A

Lathe Job

Mill Turn Job

 

zh

Lathe Job

Returns the Z axis home position with the prefix defined by the post question 686. The value comes from the Z Home position defined in the operations Rapids page.

 

API:

double LATHE_GetZHome()

Mill Turn Job

Returns the Z axis home position with the prefix for Lathe features only. Milling features currently do not have any parameters to set this value. The value for Lathe features come from the Z Home position defined in the operations Rapids page.

 

The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 686 will be used.

 

API:

double LATHE_GetZHome()

 

prev_x

Mill Job

Returns the value of the previous X axis feed move. Rapid moves are not included. Prefix comes from the post question:684
 
API:
double MILL_GetPreviousXFeed()
double LATHE_GetPrefiousXFeed()

Lathe Job
 

Mill Turn Job

Returns the value of the previous X axis feed move. Rapid moves are not included.

 

The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 684 will be used.

 

API:

double MILLTURN_GetPreviousXFeed()

 

prev_y

Mill Job

Returns the value of the previous Y axis feed move. Rapid moves are not included. Prefix comes from the post question: 685
 
API:
double MILL_GetPreviousYFeed()

Mill Turn Job

Returns the value of the previous Y axis feed move. Rapid moves are not included.

 

The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 685 will be used.

 

API:

double MILLTURN_GetPreviousYFeed()

 

prev_z

Mill Job

Returns the value of the previous Z axis feed move. Rapid moves are not included. Prefix comes from the post question: 686
 
API:
double MILL_GetPreviousZFeed()
double LATHE_GetPrefiousZFeed()

Lathe Job
 

Mill Turn Job

Returns the value of the previous Z axis feed move. Rapid moves are not included.

 

The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 686 will be used.

 

API:

double MILLTURN_GetPreviousZFeed()

 

x_f

Mill Job

Returns the value of the current X axis feed move. Prefix comes from the post question: 684
 
API:
double MILL_GetXFeed()
double LATHE_GetXFeed()

Lathe Job
 

Mill Turn Job

Returns the value of the current X axis feed move.

 

The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 684 will be used.

 

API:

double MILLTURN_GetXFeed()

 

y_f

Mill Job

Returns the value of the current Y axis feed move. Prefix comes from the post question: 685
 
API:
double MILL_GetYFeed()
double LATHE_GetYFeed()

Lathe Job
 

Mill Turn Job

Returns the value of the current Y axis feed move.

 

The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 685 will be used.

 

API:

double MILLTURN_GetYFeed()

 

z_f

Mill Job

Returns the value of the current Z axis feed move. Prefix comes from the post question: 686
 
API:
double MILL_GetZFeed()
double LATHE_GetZFeed()

Lathe Job
 

Mill Turn Job

Returns the value of the current Z axis feed move.

 

The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 686  will be used.

 

API:

double MILLTURN_GetZFeed()


LATHE_SetXHome(double var) - API Only

Lathe Job
 

Sets the X axis home position.
 
API:
LATHE_SetXHome(variable_name)

Mill Turn Job

 

LATHE_SetZHome(double var) - API Only

Lathe Job
 

Sets the Z axis home position.
 
API:
LATHE_SetZHome(variable_name)

Mill Turn Job

 

LATHE_GetXHome() - API Only

Lathe Job
 

Returns the X axis home position.
 
API:
double LATHE_GetXHome()

Mill Turn Job

 

LATHE_GetZHome() - API Only

Lathe Job
 

Returns the Z axis home position.
 
API:
double LATHE_GetZHome()

Mill Turn Job

 

LATHE_SetPickupZ(double_var) - API Only

Lathe Job
 

Sets the Z axis pickup value.
 
API:
LATHE_SetPickupZ(variable_name)

Mill Turn Job

 

LATHE_GetPickupZ() - API Only

Lathe Job
 

Returns the Z axis pickup value.
 
API:
double LATHE_GetPickupZ()

Mill Turn Job

 

LATHE_SetPreviousXFeed(double var) - API Only

Lathe Job
 

Sets the previous feed location for the X axis using a double variable.
 
API:
LATHE_SetPreviousXFeed(variable_name)

Mill Turn Job

 

LATHE_SetPreviousZFeed(double var) - API Only

Lathe Job
 

Sets the previous feed location for the Z axis using a double variable.
 
API:
LATHE_SetPreviousZFeed(variable_name)

Mill Turn Job

 

rapid_to_pickup_z

Lathe Job
 

Outputs a "G0" code with a Z axis position move that uses the prefix defined on post question: 686. This is used for the stock handling feature.

Mill Turn Job

Outputs a “G0” code with a Z axis position move. This is used for the stock handling

feature.

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

 

rapid_to_position_x

Lathe Job
 

Outputs a "G0" code with a X axis position move that uses the prefix defined on post question: 684. This is used for the stock handling feature.

Mill Turn Job

Outputs a “G0” code with a X axis position move. This is used for the stock handling

feature.

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

 

rapid_to_position_z

Lathe Job
 

Outputs a "G0" code with a Z axis position move that uses the prefix defined on post question: 686. This is used for the stock handling feature.

Mill Turn Job

Outputs a “G0” code with a Z axis position move. This is used for the stock handling

feature.

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

 

rapid_to_stock_feed_z

Lathe Job
 

Outputs a "G0" code with a Z axis position move that uses the prefix defined on post question: 686. This is used for the stock handling feature.

Mill Turn Job

Outputs a “G0” code with a Z axis position move. This is used for the stock handling

feature.

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

 

rapid_iplane_face

Lathe Job
 

Outputs a "G0" code with a Z axis position move that uses the prefix defined on post question: 686.

Mill Turn Job

Outputs a “G0” code with a Z axis position move. 

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

 

rapid_rplane_face

Lathe Job
 

Outputs a "G0" code with a Z axis position move that uses the prefix defined on post question: 686.

Mill Turn Job

Outputs a “G0” code with a Z axis position move. 

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

 

rapid_iplane_diam

Lathe Job
 

Outputs a "G0" code with a X axis position move that uses the prefix defined on post question: 684.

Mill Turn Job

Outputs a “G0” code with a X axis position move. 

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

 

rapid_rplane_diam

Lathe Job
 

Outputs a "G0" code with a X axis position move that uses the prefix defined on post question: 684.

Mill Turn Job

Outputs a “G0” code with a X axis position move. 

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

 

output_primary_rotary_index (legacy = output_rotary_angle)

Mill Job

output_rotary_angle - This calls block 10 which is used to add a prefix and output the rotary_angle variable.

Mill Turn Job

This calls block 10 which is used to add a prefix and output the primary_rotary_angle_output variable.

 

 

output_secondary_rotary_index (legacy = output_second_rotary_angle)

Mill Job

output_second_rotary_angle - This calls block 17 which is used to add a prefix and output the second_rotary_angle variable.

Mill Turn Job

This calls block 17 which is used to add a prefix and output the output_second_rotary_angle_output variable.

 

 

primary_rotary_angle_output (legacy = rotary_angle)

Mill Job

rotary_angle - This outputs the rotation angle for the primary axis. The prefix is defined on post question: 722

 

API:

double MILL_GetRotaryAngle()

Mill Turn Job

Outputs the rotation angle for the primary rotary axis. The prefix is defined on

post question: 722

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

API:

double MILLTURN_GetPrimaryRotaryAngleOutput()

 

secondary_rotary_angle_output (legacy = second_rotary_angle)

Mill Job

second_rotary_angle - This outputs the rotation angle for the primary axis. The prefix is defined on post question:  723

 

API:

double MILL_GetSecondRotaryAngleOutput()

Mill Turn Job

Outputs the rotation angle for the primary rotary axis. The prefix is defined on

post question:  723

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

API:

double MILLTURN_GetSecondaryRotaryAngleOutput()

 

primary_rotary_direction (legacy = rotary_dir)

Mill Job

rotary_dir – This outputs the code to define the rotation direction of the primary

rotation axis. The codes for CW and CCW are defined on post questions: 710(CW)

and 711(CCW).

 

API:

short MILL_PRotDirection()

  • 0 = Forward
  • 1 = Reverse

Mill Turn Job

This outputs the code to define the rotation direction of the primary rotation axis. The

codes for CW and CCW are defined on post questions: 1xx22 and 1xx23 for workpiece

devices and 2xx16 and 2xx17 for toolpiece devices.

 

API:

Use Mill API call.

 

secondary_rotary_direction (legacy = second_rotary_dir)

Mill Job

second_rotary_dir – This outputs the code to define the rotation direction of the secondary rotation axis. The codes for CW and CCW are defined on post questions: 712(CW) and 713(CCW).

 

API:

short MILL_SRotDirection()

  • 0 = Forward
  • 1 = Reverse

Mill Turn Job

This outputs the code to define the rotation direction of the secondary rotation axis. The codes for CW and CCW are defined on post questions: 1xx22 and 1xx23 for workpiece devices and 2xx16 and 2xx17 for toolpiece devices.

 

API:

Use Mill API call.

 

p_rot

Mill Job

This outputs the primary rotation axis angle value for rotary and 5 axis motion.

The output is formatted with the prefix defined on post question: 722

 

API:

double MILL_Get_PRot()

Mill Turn Job

This outputs the primary rotation axis angle value for rotary and 5 axis motion.

The output is formatted with the prefix defined on post question: 722

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through  5099 for incremental.

 

API:

Use Mill API call.

 

p_rot_no_prefix

Mill Job

This outputs the primary rotation axis angle value for rotary and 5 axis motion.

 

s_rot

Mill Job

This outputs the secondary rotation axis angle value for rotary and 5 axis motion.

The output is formatted with the prefix defined on post question: 723

 

API:

double MILL_Get_SRot()

Mill Turn Job

This outputs the secondary rotation axis angle value for rotary and 5 axis motion.

The output is formatted with the prefix defined on post question: 723

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through  5099 for incremental.

 

API:

Use Mill API call.

 

s_rot_no_prefix

Mill Turn Job

This outputs the primary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 722

 

initpos_prot

initpos_nocomp_prot 

initpos_zcomp_prot 

initpos_hybridcomp_prot 

initpos_tcp_prot 

initpos_origintracking_prot

Mill Job

This outputs the initial primary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 722

API: GetDoubleOfPostVariable(“variable_name”)

Mill Turn Job

 

initpos_srot 

initpos_nocomp_srot 

initpos_zcomp_srot 

initpos_hybridcomp_srot 

initpos_tcp_srot 

initpos_origintracking_srot

Mill Job

This outputs the initial secondary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 723

API: GetDoubleOfPostVariable(“variable_name”)

Mill Turn Job

 

initpos_trot 

initpos_nocomp_trot 

initpos_zcomp_trot 

initpos_hybridcomp_trot 

initpos_tcp_trot 

initpos_origintracking_trot

Mill Job

This outputs the initial tertiary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 724

API: GetDoubleOfPostVariable(“variable_name”)

Mill Turn Job

 

force_prot

Mill Job

Forces the primary rotary axis value to output regardless of modality

Mill Turn Job

 

force_srot

Mill Job

Forces the secondary rotary axis value to output regardless of modality

Mill Turn Job

 

p_rot_no_output

Mill Job

Updates modality with the new position but does not output the position to the NC file.

Lathe Job

Mill Turn Job

 

s_rot_no_output

Mill Job

Updates modality with the new position but does not output the position to the NC file.

Lathe Job

Mill Turn Job

 

rotary_clamp_on

Mill Job

Outputs the string value to enable the rotary axis clamp on the primary rotation axis. The string value is defined on post question: 716

 
API:
For API usage create logic using the following:
short MILL_GetPClampStatus()

  • 0 = Not Clamped
  • 1 = Clamped

 

rotary_clamp_off

Mill Job

Outputs the string value to disable the rotary axis clamp on the primary rotation axis. The string value is defined on post question:717

  
API:
For API usage create logic using the following:
short MILL_GetPClampStatus()

  • 0 = Not Clamped
  • 1 = Clamped

 

s_rotary_clamp_on

Mill Job

Outputs the string value to enable the rotary axis clamp on the secondary rotation axis. The string value is defined on post question: 718

  
API:
For API usage create logic using the following:
short MILL_GetSClampStatus()

  • 0 = Not Clamped
  • 1 = Clamped

 

s_rotary_clamp_off

Mill Job

Outputs the string value to disable the rotary axis clamp on the secondary rotation axis. The string value is defined on post question: 719

  
API:
For API usage create logic using the following:
short MILL_GetSClampStatus()

  • 0 = Not Clamped
  • 1 = Clamped

 

workpiece_device_brake

Mill Turn Job

This variable is referred to as a Smart Variable. Each Workpiece device has post

questions that define the brake codes for ON/OFF.

 

Workpiece Device Post Questions:

10x05 - String - ON

10x06 - String - Auto ON

10x07 - String - OFF

 

When this variable is otput from Lathe postblocks, the posting engine will output

the active workpiece's OFF code.

 

When this variable is output from a milling postblock, the posting engine will output

the ON code for indexing operations, and will output OFF for simultaneous 4 and 5

axis motion.

 

API:

string MILLTURN_GetWorkpieceDeviceBrake()

 

prv_workpiece_device_brake_off

Mill Turn Job

This variable will output the ON command for the previously  active Workpiece device.

 

NOTE: See workpiece_device_brake for more details.

 

API:

string MILLTURN_GetPrvWorkpieceDeviceBrakeOFF()

 

workpiece_device_brake_on

Mill Turn Job

This variable will output the ON command for the active Workpiece device.

 

Each Workpiece device has post questions that define the brake codes for On and Off.

 

Workpiece Device Post Questions:

10x05 - String - ON

10x06 - String - Auto ON

10x07 - String - OFF

 

API:

string MILLTURN_GetWorkpieceDeviceBrakeON()

 

workpiece_device_auto_brake_on

Mill Turn Job

This variable will output the Auto ON command for the active Workpiece device.
 
Each Workpiece device has post questions that define the brake codes for On and Off.
 
Workpiece Device Post Questions:

10x05 - String - ON

10x06 - String - Auto ON

10x07 - String - OFF

 

API:

string MILLTURN_GetWorkpieceDeviceAutoBrakeON()

 

workpiece_device_brake_off

Mill Turn Job

This variable will output the OFF command for the active Workpiece device.
 
Each Workpiece device has post questions that define the brake codes for On and Off.
 
Workpiece Device Post Questions:

10x05 - String - ON

10x06 - String - Auto ON

10x07 - String - OFF

 

API:

string MILLTURN_GetWorkpieceDeviceBrakeOFF()

 

tool_device_brake

Mill Turn Job

This variable is referred to as a Smart variable. Each Tool device has post questions

that define the brake codes for On and Off.

 

Tool Device Post Questions:

10x05 - String - ON

10x06 - String - Auto ON

10x07 - String - OFF

 

When this variable is output from Lathe postblocks the posting engine will output

the active Tool device OFF code.

 

When this variable is output from a milling postblock the posting engine will output

the ON code for Indexing operations and will output OFF for simultaneous 4 axis or

5 axis motion.

 

API:

string MILLTURN_GetToolDeviceBrake()

 

prv_tool_device_brake_off

Mill Turn Job

This variable will output the OFF command from the previously active Tool device. See

tool_device_brake for more details.

 

API:

string MILLTURN_GetPrvToolDeviceBrakeOFF()

 

tool_device_brake_on

Mill Turn Job

This variable will output the ON command for the active Tool device.

 

Each Tool device has post questions that define the brake codes for On and Off.

 

Tool Device Post Questions:

20x07 – String - ON

20x08 – String – Auto ON

20x09 – String – OFF

 

API:

string MILLTURN_GetToolDeviceBrakeON()

 

tool_device_auto_brake_on

Mill Turn Job

This variable will output the Auto ON command for the active Tool device.

 

Each Tool device has post questions that define the brake codes for On and Off.

 

Tool Device Post Questions:

20x07 – String - ON

20x08 – String – Auto ON

20x09 – String – OFF

 

API:

string MILLTURN_GetToolDeviceAutoBrakeON()

 

tool_device_brake_off

Mill Turn Job

This variable will output the OFF command for the active Tool device.

 

Each Tool device has post questions that define the brake codes for On and Off.

 

Tool Device Post Questions:

20x07 – String - ON

20x08 – String – Auto ON

20x09 – String – OFF

 

API:

string MILLTURN_GetToolDeviceBrakeOFF()

 

rotary_xy_f

Mill Job

This outputs either the X or Y axis position for wrapping toolpaths. Based on the

wrapping axis the prefix is defined by post question: 684 for the X axis and post

question: 685 for the Y axis.

 

API:

double MILL_GetRotaryXYFeedMove()

Mill Turn Job

This outputs the linear axis position for wrapping toolpaths. 

 

The prefix is defined by the post mapping section of the post processor. The devices

have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000

through 5049 for absolute, and 5050 through 5099 for incremental.

 

API:

double MILLTURN_GetRotaryXYFeedMove()

 

x_angle

Mill Job

Outputs the rotation angle from wrapping blocks using the prefix defined on post

question: 684 for X axis and 685 for Y axis.

 

y_angle

Mill Job

Outputs the rotation angle from wrapping blocks using the prefix defined on post

question: 684 for X axis and 685 for Y axis.

 

rotary_xy_angle

Mill Job

Outputs the rotation angle from wrapping blocks using the prefix defined on post

question: 690 for X axis wrapping and post question 694  for Y axis wrapping.

Mill Turn Job

This variable has been replaced by p_rot and s_rot variables.

 

rotary_xyr_angle

Mill Job

Outputs the Rotation Angle value from the Posting page when the Output Rotary Angle option is used.

Mill Turn Job

Outputs the Rotation Angle value from the Posting page when the Output Rotary Angle option is used.

 

xr_angle

Mill Job

Outputs the rotation angle from wrapping blocks using prefix from post question: 690

Mill Turn Job

This variable has been replaced by p_rot and s_rot variables.

 

yr_angle

Mill Job

Outputs the rotation angle from wrapping blocks using prefix from post question: 694

Mill Turn Job

This variable has been replaced by p_rot and s_rot variables.

 

measure_mode

Mill Job

Outputs the string based on the mode (Inch/Metric). Strings defined on post questions: 614(Inch) and post question: 615(Metric).

 

API:

short MILL_GetUnits()

 

Returns the current unit setting

0= Inch

1= Metric

Mill Turn Job

Outputs the string based on the mode (Inch/Metric). Strings defined on post questions: 614(Inch) and post question:  615(Metric).

 

API:

Use Mill API call.

 

LATHE_GetUnits() - API Only

Lathe Job

Returns the current unit setting

 

0 = Inch

1 = Metric

 

API:

short LATHE_GetUnits()

 

movement_mode

Mill Job

Outputs the string based on the current mode (Absolute/Incremental). The output

strings are defined on post question: 620(Abs) and post question: 621(Inc).

 

API:

short MILL_GetIsIncremental()

Mill Turn Job

Outputs the string based on the current mode (Absolute/Incremental). The output

strings are defined on post question: 620(Abs) and post question: 621(Inc).

 

API:

Use Mill API call.

 

xcenter

Mill Job

Outputs the arc center  X coordinate value using the prefix from post question: 642

 

API:

double MILL_GetArcCenterX()

Mill Turn Job

Outputs the arc center  X coordinate value using the prefix from post question: 642

 

API:

Use Mill API Call

 

ycenter

Mill Job

Outputs the arc center  Y coordinate value using the prefix from post question: 643

 

API:

double MILL_GetArcCenterY()

Mill Turn Job

Outputs the arc center  Y coordinate value using the prefix from post question: 643

 

API:

Use Mill API Call

 

zcenter

Mill Job

Outputs the arc center  Z coordinate value using the prefix from post question: 640

 

API:

double MILL_GetArcCenterZ()

Mill Turn Job

Outputs the arc center  Z coordinate value using the prefix from post question: 640

 

API:

Use Mill API Call

 

rcenter

Mill Job

Outputs the arc center radius value using the prefix from post question: 641

 

API:

double MILL_GetArcRadius()

Mill Turn Job

Outputs the arc center radius value using the prefix from post question: 641

 

API:

double MILLTURN_GetRCenter()

 

arc_center

Mill Job

Outputs the arc center value based on the current arc being cut using prefixes from

post questions:  640 through post question: 643.

 

API:

double MILL_GetArcCenterX()

double MILL_GetArcCenterY()

double MILL_GetArcCenterZ()

Lathe Job

Outputs the arc center value based on the current arc being cut using prefixes from

post questions:  640 and post question: 642.

 

API:

double LATHE_GetArcCenterX()

double LATHE_GetArcCenterZ()

Mill Turn Job

Outputs the arc center value based on the current arc being cut using prefixes from

post questions:  640 through post question: 643.

 

API:

Use Mill or Lathe API calls.

 

helix_totalangles

Mill Job

Outputs the total helix angle for helical toolpath entity. The prefix is defined on post question 733.

Mill Turn Job

 

helix_pitch

Mill Job

Outputs the pitch value for helical toolpath entity. The prefix is defined on post question 734.

Mill Turn Job

 

n

Mill Job

Outputs the sequence numbers into the NC program.

Lathe Job

Mill Turn Job

 

n_forced

Mill Job

Outputs the sequence numbers into the NC program even if the sequence number output has been turned off.

Lathe Job

Mill Turn Job

 

seq_only

Mill Job

Outputs the sequence number with NO prefix

Mill Turn Job

 

n_first_rough

Lathe Job

Outputs the line number at the beginning of the profile that is used to define the

canned roughing cycle. The prefix is defined on post question: 1790

 

API:

string LATHE_GetFirstRoughLineNumberPrefix()

Mill Turn Job

 

n_last_rough

Lathe Job

Outputs the line number at the end of the profile that is used to define the canned

roughing cycle. The prefix is defined on post question: 1791

 

API:

string LATHE_GetLastRoughLineNumberPrefix()

Mill Turn Job

 

n_first_finish

Lathe Job

Outputs the line number at the beginning of the profile that is used to define the

canned finish cycle. The prefix is defined on post question: 1790

 

API:

string LATHE_GetLineNumberFirstFinish()

Mill Turn Job

 

LATHE_GetLineNumberFirstFinish() - API Only

Lathe Job

Returns the P word for the first line number of turning canned cycle output to finish

pass.

 

API:

short LATHE_GetLineNumberFirstFinish()

Mill Turn Job

 

LATHE_GetFirstFinishLineNumberPrefix() - API Only

Lathe Job

Returns the prefix string for the first line of a finish canned cycle. The prefix

string is defined on post question: 1790.

 

API:

string LATHE_GetFirstFinishLineNumberPrefix()

Mill Turn Job

 

n_last_finish

Lathe Job

Outputs the line number at the end of the profile that is used to define the canned

finish cycle. The prefix is defined on post question: 1791

 

API:

string LATHE_GetLineNumberLastFinish()

string LATHE GetLastFinishLineNumberPrefix()

Mill Turn Job

 

LATHE_GetLineNumberLastFinish() - API Only

Lathe Job

Returns the Q word for the last line number of turning canned cycle output to the

finish pass.

 

API:

short LATHE_GetLineNumberLastFinish()

 

sub_call

Mill Job

Outputs sub call string. String defined from post question: 628

Mill Turn Job

 

sub_return

Mill Job

Outputs sub return string. String defined from post question: 629

Mill Turn Job

 

sub_num

Mill Job

Outputs sub program number with prefix defined from post question :658

Mill Turn Job

 

sub_num_no_prefix

Mill Job

Outputs sub program number without prefix

Mill Turn Job

Outputs sub program number without prefix

 

API:

string MILLTURN_GetSubProgramNumber()

 

sub_num_with_prefix

Mill Job

Outputs the sub program number with prefix defined on post question: 645

 

API:

string MILL_GetSubProgramNumberWithPrefix()

Mill Turn Job

Outputs sub program number with prefix defined on post question: 645

 

API:

string MILLTURN_GetSubProgramNumberWithPrefix()

 

local_sub_num_call

Mill Job

Outputs the prefix + sub program number. Example: P100

Prefix is defined on post question:  658

 

local_sub_num_def

Mill Job

Outputs N + sub program number. Example: N100

 

local_sub_num_no_prefix

Mill Job

Outputs the sub program number only. Example: 100

Transform Plane

initial_positioning

Mill Job

This variable should be utilized in the Milling tool change blocks to call the 30

or 31 block based on whether the operation is utilizing a transform block. If the

operation is not utilizing the transform plane, block 30 will be output. If the

operation is under an index system, and using the transform plane, the 31 transform

plane block will be output.

Mill Turn Job

 

transform_plane_origin_1

Mill Job

Outputs the coordinate of the origin for the transformed plane from the machine setup position along the first translation axis (Typically the X axis origin)

Mill Turn Job

 

transform_plane_origin_2

Mill Job

Outputs the coordinate of the origin for the transformed plane from the machine setup position along the second translation axis (Typically the Y axis origin)

Mill Turn Job

 

transform_plane_origin_3

Mill Job

Outputs the coordinate of the origin for the transformed plane from the machine setup position along the third translation axis (Typically the Z axis origin)

Mill Turn Job

 

xr_transform

Mill Job

Outputs the X axis rapid location on the transformed plane with the prefix defined

by post question: 684

 

This variable should be used in block 31 to output coordinates relative to the transformed plane

Mill Turn Job

 

yr_transform

Mill Job

Outputs the Y axis rapid location on the transformed plane with the prefix defined

by post question: 685

This variable should be used in block 31 to output coordinates relative to the transformed plane

Mill Turn Job

 

zr_transform

Mill Job

Outputs the Z axis rapid location on the transformed plane with the prefix defined

by post question: 686

This variable should be used in block 31 to output coordinates relative to the transformed

plane

Mill Turn Job

 

transform_plane_rot_angle_first

Mill Job

Outputs first rotary angle for the operations on the transform plane

Mill Turn Job

 

transform_plane_rot_angle_second

Mill Job

Outputs second rotary angle for the operations on the transform plane

Mill Turn Job

 

transform_plane_rot_angle_third

Mill Job

Outputs third rotary angle for the operations on the transform plane

Mill Turn Job

 

euler_angle_zxz_intrinsic_1

euler_angle_zxz_intrinsic_2

euler_angle_zxz_intrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by intrinsic rotation around

machine setup Z axis first, then around X axis of the rotated coordinate system resulted

from first rotation & finally around Z axis of the rotated coordinate system resulted

from the second rotation respectively for the transformed plane

Mill Turn Job

 

euler_angle_zxz_extrinsic_1

euler_angle_zxz_extrinsic_2

euler_angle_zxz_extrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by extrinsic rotation around

the machine setup Z axis first, X axis & Z axis again for the transformed plane

Mill Turn Job

 

euler_angle_xyx_intrinsic_1

euler_angle_xyx_intrinsic_2

euler_angle_xyx_intrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by intrinsic rotation around

machine setup X axis first, then around Y axis of the rotated coordinate system resulted

from first rotation & finally around X axis of the rotated coordinate system resulted

from the second rotation respectively for the transformed plane

Mill Turn Job

 

euler_angle_xyx_extrinsic_1

euler_angle_xyx_extrinsic_2

euler_angle_xyx_extrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by extrinsic rotation around

X axis, Y axis, X axis respectively of the machine setup for the transformed plane

Mill Turn Job

 

euler_angle_yzy_intrinsic_1

euler_angle_yzy_intrinsic_2

euler_angle_yzy_intrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by intrinsic rotation around

machine setup Y axis first, then around Z axis of the rotated coordinate system resulted

from first rotation & finally around Y axis of the rotated coordinate system resulted

from the second rotation respectively for the transformed plane

Mill Turn Job

 

euler_angle_yzy_extrinsic_1

euler_angle_yzy_extrinsic_2

euler_angle_yzy_extrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by extrinsic rotation around

Y axis, Z axis, Y axis respectively of the machine setup for the transformed plane

Mill Turn Job

 

euler_angle_zyz_intrinsic_1

euler_angle_zyz_intrinsic_2

euler_angle_zyz_intrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by intrinsic rotation around machine setup Z axis first, then around Y axis of the rotated coordinate system resulted from first rotation & finally around Z axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane

Mill Turn Job

 

euler_angle_zyz_extrinsic_1

euler_angle_zyz_extrinsic_2

euler_angle_zyz_extrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by extrinsic rotation around

Z axis, Y axis, Z axis respectively of the machine setup for the transformed plane

Mill Turn Job

 

euler_angle_xzx_intrinsic_1

euler_angle_xzx_intrinsic_2

euler_angle_xzx_intrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by intrinsic rotation around

machine setup X axis first, then around Z axis of the rotated coordinate system resulted

from first rotation & finally around X axis of the rotated coordinate system resulted

from the second rotation respectively for the transformed plane

Mill Turn Job

 

euler_angle_xzx_extrinsic_1

euler_angle_xzx_extrinsic_2

euler_angle_xzx_extrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by extrinsic rotation around

X axis, Z axis, X axis respectively of the machine setup for the transformed plane

Mill Turn Job

 

euler_angle_yxy_intrinsic_1

euler_angle_yxy_intrinsic_2

euler_angle_yxy_intrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by intrinsic rotation around

machine setup Y axis first, then around X axis of the rotated coordinate system resulted

from first rotation & finally around Y axis of the rotated coordinate system resulted

from the second rotation respectively for the transformed plane

Mill Turn Job

 

euler_angle_yxy_extrinsic_1

euler_angle_yxy_extrinsic_2

euler_angle_yxy_extrinsic_3

Mill Job

Outputs the rotation angles for Euler angle definition by extrinsic rotation around

Y axis, X axis, Y axis respectively of the machine setup for the transformed plane

Mill Turn Job

 

rpy_angle_xyz_intrinsic_1

rpy_angle_xyz_intrinsic_2

rpy_angle_xyz_intrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation

around machine setup X axis first, then around Y axis of the rotated coordinate system

resulted from first rotation & finally around Z axis of the rotated coordinate system

resulted from the second rotation respectively for the transformed plane

Mill Turn Job

 

rpy_angle_xyz_extrinsic_1

rpy_angle_xyz_extrinsic_2

rpy_angle_xyz_extrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation

around X axis, Y axis, Z axis respectively of the machine setup for the transformed

plane

Mill Turn Job

 

rpy_angle_yzx_intrinsic_1

rpy_angle_yzx_intrinsic_2

rpy_angle_yzx_intrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation

around machine setup Y axis first, then around Z axis of the rotated coordinate system

resulted from first rotation & finally around X axis of the rotated coordinate system

resulted from the second rotation respectively for the transformed plane

Mill Turn Job

 

rpy_angle_yzx_extrinsic_1

rpy_angle_yzx_extrinsic_2

rpy_angle_yzx_extrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation

around Y axis, Z axis, X axis respectively of the machine setup for the transformed

plane

Mill Turn Job

 

rpy_angle_zxy_intrinsic_1

rpy_angle_zxy_intrinsic_2

rpy_angle_zxy_intrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation

around machine setup Z axis first, then around X axis of the rotated coordinate system

resulted from first rotation & finally around Y axis of the rotated coordinate system

resulted from the second rotation respectively for the transformed plane

Mill Turn Job

 

rpy_angle_zxy_extrinsic_1

rpy_angle_zxy_extrinsic_2

rpy_angle_zxy_extrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation

around Z axis, X axis, Y axis respectively of the machine setup for the transformed

plane

Mill Turn Job

 

rpy_angle_xzy_intrinsic_1

rpy_angle_xzy_intrinsic_2

rpy_angle_xzy_intrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation

around machine setup X axis first, then around Z axis of the rotated coordinate system

resulted from first rotation & finally around Y axis of the rotated coordinate system

resulted from the second rotation respectively for the transformed plane

Mill Turn Job

 

rpy_angle_xzy_extrinsic_1

rpy_angle_xzy_extrinsic_2

rpy_angle_xzy_extrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation

around X axis, Z axis, Y axis respectively of the machine setup for the transformed

plane

Mill Turn Job

 

rpy_angle_zyx_intrinsic_1

rpy_angle_zyx_intrinsic_2

rpy_angle_zyx_intrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation

around machine setup Z axis first, then around Y axis of the rotated coordinate system

resulted from first rotation & finally around X axis of the rotated coordinate system

resulted from the second rotation respectively for the transformed plane

Mill Turn Job

 

rpy_angle_zyx_extrinsic_1

rpy_angle_zyx_extrinsic_2

rpy_angle_zyx_extrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation

around Z axis, Y axis, X axis respectively of the machine setup for the transformed

plane

Mill Turn Job

 

rpy_angle_yxz_intrinsic_1

rpy_angle_yxz_intrinsic_2

rpy_angle_yxz_intrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation

around machine setup Y axis first, then around X axis of the rotated coordinate system

resulted from first rotation & finally around Z axis of the rotated coordinate system

resulted from the second rotation respectively for the transformed plane

Mill Turn Job

 

rpy_angle_yxz_extrinsic_1

rpy_angle_yxz_extrinsic_2

rpy_angle_yxz_extrinsic_3

Mill Job

Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation

around Y axis, X axis, Z axis respectively of the machine setup for the transformed

plane

Mill Turn Job

 

transform_plane_dir_x_1

transform_plane_dir_x_2

transform_plane_dir_x_3

Mill Job

Outputs the first vector I,J,K for the transform plane when using 2 vectors definition

for transform planes

Mill Turn Job

 

transform_plane_dir_z_1

transform_plane_dir_z_2

transform_plane_dir_z_3

Mill Job

Outputs the second vector I,J,K for the transform plane when using 2 vectors definition

for transform planes

Mill Turn Job

 

transform_plane_pnt_2_1

transform_plane_pnt_2_2

transform_plane_pnt_2_3

Mill Job

Outputs X,Y,Z coordinates along the X axis of the transformed plane relative to the

origin of the machine setup. Note: The transform_plane_origin_# variables are typically used for the first point of the 3 point transform plane output.

Mill Turn Job

 

transform_plane_pnt_3_1

transform_plane_pnt_3_2

transform_plane_pnt_3_3

Mill Job

Outputs X,Y,Z coordinates along the Y axis of the transformed plane relative to the

origin of the machine setup

Mill Turn Job

 

transform_plane_projection_angle_x_along_y

transform_plane_projection_angle_y_along_x

transform_plane_projection_angle_along_new_z

Mill Job

Outputs the angle of rotation for X axis of transformed plane along machine setup

Y-axis, Y axis of transformed plane along X axis of the machine setup and angle of

rotation about the Z axis of the rotated coordinate system

Mill Turn Job

 

transform_plane_orientation_x

transform_plane_orientation_y

transform_plane_orientation_z

Mill Job

Outputs the I,J,K values for the Z axis of the transformed plane

Mill Turn Job

 

GetDoubleOfPostVariable() – API only

Mill Job

Used to return the value of the transform plane related variables only.

API: GetDoubleOfPostVariable(“variable_name”)

 

Example : GetDoubleOfPostVariable(“euler_angle_intrinsic_zxz_1”)

 

Note: For a list of all variables which work with this API, see the GetDoubleOfPostVariable topic.

Mill Turn Job

Comments

operation_name_comment

Mill Job

Outputs the name of the operation in the CAM tree using the comment_start and comment_end

characters defined on post question: 630 and post question: 631.

 

API:

string MILL_GetOperationNameComment()

Lathe Job

Outputs the name of the operation in the CAM tree using the comment_start and comment_end

characters defined on post question: 630 and post question: 631.

Mill Turn Job

Outputs the name of the operation in the CAM tree using the comment_start and comment_end

characters defined on post question: 630 and post question: 631.

 

API:

string MILLTURN_GetOperationNameComment()

 

feature_name_comment

Mill Job

Outputs the name of the feature in the CAM tree using the comment_start and comment_end

characters defined on post question: 630 and post question: 631.

 

API:

string MILL_GetFeatureNameComment()

Mill Turn Job

Outputs the name of the feature in the CAM tree using the comment_start and comment_end

characters defined on post question: 630 and post question: 631.

 

API:

string MILLTURN_GetFeatureNameComment()

 

comment_start (start_comment – Lathe Job)

Mill Job

Outputs the string character uses to start a comment. String is defined on post

question: 630

Lathe Job

Variable: start_comment – Outputs the string character defined for the beginning of a comment. Characters defined on post question: 630

Mill Turn Job

Outputs the string character uses to start a comment. String is defined on post

question: 630

 

comment_end (end_comment – Lathe Job)

Mill Job

Outputs the string character uses to end a comment. String is defined on post question: 631

Lathe Job

Variable: end_comment – Outputs the string character defined for the end of a comment. Characters defined on post question: 631

Mill Turn Job

Outputs the string character uses to end a comment. String is defined on post question: 631

 

system_comment (comment1 – Lathe Job)

Mill Job

Outputs a combination of the Machine Setup name and the Feature Name on the same line using the start_comment and end_comment strings.

Lathe Job

Variable: comment1 – Outputs a combination of the Machine Setup name and the Feature Name on the same line using the start_comment and end_comment strings.

Mill Turn Job

Outputs a combination of the Machine Setup name and the Feature Name on the same line using the start_comment and end_comment strings.

 

sub_comment

Mill Job

Outputs the subprogram description comment

 

API:

string MILL_GetSubComment()

Mill Turn Job

Outputs the subprogram description comment

 

API:

string MILLTURN_GetSubComment()

 

output_date

Mill Job

Outputs the Date.

Lathe Job

Mill Turn Job

 

LATHE_GetDate – API Only

Lathe Job

Returns the day and date.

 

API:

string LATHE_GetDate()

Mill Turn Job

 

output_time

Mill Job

Outputs the Time.

Lathe Job

Mill Turn Job

 

prog_n

Mill Job

Outputs the program number with NO prefix

 

API:

string MILL_GetProgramNumber()

Lathe Job

Outputs the program number with NO prefix

 

API:

short LATHE_GetProgramNumber()

Mill Turn Job

Outputs the program number with NO prefix()

 

API:

string MILLTURN_GetProgramNumber()

 

prog_name

Mill Job

Outputs the program name with no file path but does include the file extension. 

 

API:

string MILL_GetProgramName()

Lathe Job

Outputs the program name with no file path but does include the file extension.

 

API:

string LATHE_GetProgramName()

Mill Turn Job

Outputs the program name with no file path but does include the file extension.

 

API:

string MILLTURN_GetProgramName()

NOTE:

While the Post Variable outputs the program name and file extension, it does not

output the full file path. The API, however, outputs the file extension and the full

file path.

 

prog_name_no_ext

Mill Job

Outputs the program name with file path, but NO file extension. 

 

API:

string MILL_GetProgramNameNoExt()

Mill Turn Job

Outputs the program name with file path, but NO file extension.

 

API:

string MILLTURN_GetProgramNameNoExt()

 

prog_name_no_ext_no_path

Mill Job

Outputs the program name without file path and file extension.

 

API:

string MILL_GetProgramNameNoExtNoPath()

Mill Turn Job

 

prog_name_no_path

Mill Job

Outputs the program name with extension, but NO file path.

 

API:

string BC_GetProgramNameNoPath()

Mill Turn Job

 

prog_name_full_path

Mill Job

Outputs the program name with file path and file extension.

 

API:

string BC_GetProgramNameFullPath()

Mill Turn Job

 

document_name

Mill Job

Outputs the document name with file extension.

 

NOTE – a bbcd file has to be saved first to get the document name, otherwise no name will be output in the posted code

Lathe Job

Mill Turn Job

 

document_name_no_ext

Mill Job

Outputs the document name with full file path and no file extension.

 

NOTE – a bbcd file has to be saved first to get the document name, otherwise no name will be output in the posted code

Lathe Job

Mill Turn Job

 

document_name_no_ext_no_path

Mill Job

Outputs just the document name only.

 

NOTE – a bbcd file has to be saved first to get the document name, otherwise no name will be output in the posted code

Lathe Job

Mill Turn Job

 

document_name_full_path

Mill Job

Outputs the document name with extension and full file path.

 

NOTE – a bbcd file has to be saved first to get the document name, otherwise no name will be output in the posted code

Lathe Job

Mill Turn Job

 

job_name

Mill Job

Outputs the job name only.

Lathe Job

Mill Turn Job

 

machine_make

Mill Job

Outputs the machine make defined on post question: 646

Lathe Job

Mill Turn Job

 

machine_model

Mill Job

Outputs the machine model defined on post question: 646

Lathe Job

Mill Turn Job

 

feature_name

Mill Job

Outputs the name of the feature with no comment start/end strings

Lathe Job

Mill Turn Job

 

setup_name

Mill Job

Outputs the name of the setup with no comment start/end strings

Lathe Job

Mill Turn Job

 

operation_name

Mill Job

Outputs the name of the operation with no comment start/end strings

Lathe Job

Mill Turn Job

 

comment1

Lathe Job

Outputs the Machine Setup comment and the first operation comment. 

 

See Also: system_comment

 

API:

string LATHE_GetComment1()

Mill Turn Job

Outputs the Machine Setup comment and the first operation comment. 

 

See Also: system_comment

 

API:

string MILLTURN_GetComment1()

 

comment2

Lathe Job

Outputs the tool number plus the tool label

 

API:

string LATHE_GetComment2()

Mill Turn Job

Outputs the tool number plus the tool label

 

API:

string MILLTURN_GetComment2()

 

comment3

Lathe Job

Outputs the operation comment

 

API:

string LATHE_GetComment3()

Mill Turn Job

Outputs the operation comment

 

API:

string MILLTURN_GetComment3()

 

user_comment_1 through

user_comment_15

Mill Job

Outputs the user comments defined in the Current Settings for the job.

Lathe Job

Mill Turn Job

 

output_note

Mill Job

Outputs the note from CAM tree. Variable outputs note from Job level if used in Block 0, outputs note from Machine setup when used in blocks 15 & 16., when used in other blocks will output notes from Group folder/Index system/Wrapping group/feature/operation level. This block was added to BobCAD-CAM V36 and BobCAM for SOLIDWORKS V11.

Lathe Job

Mill Turn Job

 

material_comment

Mill Job

Outputs the defined material as a string.

 

API:

string MILLTURN_GetMaterialComment()

Lathe Job

Mill Turn Job

Stock

stock_min_x

Mill Job

Returns the X coordinate for the bottom left hand corner of the stock with NO prefix.

 

API:

double MILL_GetStockMinX()

Mill Turn Job

Returns the X coordinate for the bottom left hand corner of the stock with NO prefix.

 

API:

double MILLTURN_GetStockMinX()

 

stock_min_y

Mill Job

Returns the Y coordinate of the lower edge of the stock with NO prefix

 

API:

double MILL_GetStockMinY()

Mill Turn Job

Returns the Y coordinate of the lower edge of the stock with NO prefix

 

API:

double MILLTURN_GetStockMinY()

 

stock_min_z

Mill Job

Returns the Z coordinate of the bottom of the stock with NO prefix

 

API:

double MILL_GetStockMinZ()

Mill Turn Job

Returns the Z coordinate of the bottom of the stock with NO prefix

 

API:

double MILLTURN_GetStockMinZ()

 

stock_max_x

Mill Job

Returns the X coordinate for the top right hand corner of the stock with NO prefix.

 

API:

double MILL_GetStockMaxX()

Mill Turn Job

Returns the X coordinate for the top right hand corner of the stock with NO prefix.

 

API:

double MILLTURN_GetStockMaxX()

 

stock_max_y

Mill Job

Returns the Y coordinate of the top right hand corner of the stock with NO prefix

 

API:

double MILL_GetStockMaxY()

Mill Turn Job

Returns the Y coordinate of the top right hand corner of the stock with NO prefix

 

API:

double MILLTURN_GetStockMaxY()

 

stock_max_z

Mill Job

Returns the Z coordinate of the top right hand corner of the stock with NO prefix

 

API:

double MILL_GetStockMaxZ()

Mill Turn Job

Returns the Z coordinate of the right hand corner of the stock with NO prefix

 

API:

double MILLTURN_GetStockMaxZ()

 

stock_length

Mill Job

Outputs the X dimension of the stock with NO prefix

Lathe Job

Outputs the length of the stock(Z axis) with NO prefix

Mill Turn Job

Outputs the X dimension of the stock with NO prefix

 

stock_width

Mill Job

Outputs the Y dimension of the stock with NO prefix

Mill Turn Job

 

stock_height

Mill Job

Outputs the Z dimension of the stock with NO prefix

Mill Turn Job

 

rotary_stock_diameter

Mill Job

Returns the wrapping stock diameter with prefix. The prefix is defined on post question: 703

 

API:

double MILL_GetRotaryStockDiameter()

Mill Turn Job

 

rotary_stock_length

Mill Job

Returns the length of the stock with prefix. The prefix is defined on post question: 704

 

API:

double MILL_GetRotaryStockLength()

Mill Turn Job

 

rotation_axis

Mill Job

Outputs rotation axis with the prefix defined on post question: 702

 

API:

double MILL_GetRotaryAxis()

Mill Turn Job

 

output_stock_definition (output_stock in Lathe job)

Mill Job

Outputs the stock definition blocks 108 and 109 based on the stock type.

Lathe Job

Outputs the stock definition block 1111.

Mill Turn Job

Outputs the stock definition blocks 108 and 109 based on the stock type.

 

mtool_angle

Mill Job

Outputs the tool angle with prefix. The prefix is defined on post question: 699

Mill Turn Job

 

mtool_corner_rad

Mill Job

Outputs the tool corner radius value with prefix. The prefix is defined on post

question: 700

Mill Turn Job

 

mtool_type

Mill Job

Outputs the tool type with prefix. The prefix is defined on post question: 701

 

Values:

1 - Flat End Mill, Tap Tool, Reamer, Thread Mill, Counter Bore, Boring, All other tools

2 - Ball End Mill

3 - Bullnose End Mill

4 - Drill, Carbide Drill, Center Drill

7 - Chamfer Drill, Chamfer Mill, V-Tool

Mill Turn Job

 

tool_label

Mill Job

Outputs the tool label. 

 

API:

string MILL_GetToolLabel()

Mill Turn Job

Outputs the tool label.

 

API:

string MILLTURN_GetToolLabel()

 

MILL_GetNextToolLabel()- API only

Mill Job

Outputs the next tool label. 

 

API:

string MILL_GetNextToolLabel()

Mill Turn Job

 

block_delete  (start_add_block_delete in Lathe job)

Mill Job

Outputs the block delete characters. The block delete characters that are output

are defined on post question: 656

Lathe Job

Variable used: start_add_block_delete – This variable marks the beginning of outputting the block delete characters. The block delete characters that is output is defined on post question: 656

 

To end the output of the block delete character use the  stop_add_block_delete variable.

Mill Turn Job

Outputs the block delete characters. The block delete characters that are output

are defined on post question: 656

 

LATHE_SetStockPosZ(double var) – API Only

Lathe Job

Sets the Z axis stock position.

 

API:

LATHE_SetStockPosZ(variable_name)

Mill Turn Job

 

LATHE_SetStockPosX(double var) – API Only

Lathe Job

Sets the X axis stock position.

 

API:

LATHE_SetStockPosX(variable_name)

Mill Turn Job

 

LATHE_GetStockPosZ() – API Only

Lathe Job

Returns the Z axis stock position.

 

API:

double LATHE_GetStockPosZ()

Mill Turn Job

 

LATHE_GetStockPosX() – API Only

Lathe Job

Returns the X axis stock position.

 

API:

double LATHE_GetStockPosX()

Mill Turn Job

 

LATHE_SetStockFeedToZ(double var) – API Only

Lathe Job

Sets the stock feed to Z value

 

API:

LATHE_SetStockFeedToZ(variable_name)

Mill Turn Job

 

LATHE_GetStockFeedToZ() – API Only

Lathe Job

Returns the Z axis stock feed to position.

 

API:

double LATHE_GetStockFeedToZ()

Mill Turn Job

 

LATHE_GetStockLength() – API Only

Lathe Job

Returns the length of the currently defined stock.

 

API:

double LATHE_GetStockLength()

Mill Turn Job

 

LATHE_GetStockInternalDiameter() – API Only

Lathe Job

Returns the internal diameter of the currently defined stock.

 

API:

double LATHE_GetStockInternalDiameter()

Mill Turn Job

 

LATHE_GetStockFaceZLocation() – API Only

Lathe Job

Returns the Z axis position of the stock face.

 

API:

double LATHE_GetStockFaceZLocation()

Mill Turn Job

 

LATHE_GetStockEndZLocation() – API Only

Lathe Job

Returns the Z axis position of the end of the stock.

 

API:

double LATHE_GetStockEndZLocation()

Mill Turn Job

 

LATHE_GetStockDiameter() – API Only

Lathe Job

Returns the diameter of the stock.

 

API:

double LATHE_GetStockDiameter()

Mill Turn Job

G Codes

feed_move

Mill Job

Outputs the code for move at feedrate. String defined on post question: 681

Lathe Job

Mill Turn Job

 

rapid_move

Mill Job

Outputs the code for move at rapid. String defined on post question: 680

Lathe Job

Mill Turn Job

 

feed_move_forced

Mill Job

Forces the output of the code for move at feedrate.

Lathe Job

Mill Turn Job

 

rapid_move_forced

Mill Job

Forces the output of the code for move at rapid.

Lathe Job

Mill Turn Job

 

cc

Mill Job

Outputs call to post block 11, 12 or 13 depending on the cutter compensation state.

(11=OFF, 12=Left, 13=Right)

 

API:

short MILL_GetOffsetSide()  

0 = None

1 = Left

2 = Right

Lathe Job

Outputs call to post block 11, 12 or 13 depending on the cutter compensation state.

(11=OFF, 12=Left, 13=Right)

 

API:

short LATHE_GetCutterCompSide()  

0 = None

41 = Left

42 = Right

Mill Turn Job

Outputs call to post block 11, 12 or 13 depending on the cutter compensation state.

(11=OFF, 12=Left, 13=Right)

 

API:

short MILLTURN_GetOffsetSide()  

0 = None

1 = Left

2 = Right

 

force_cc

Mill Job

Forces the output of the cc variable.

Mill Turn Job

 

g_code_cc

Lathe Job

Outputs cutter diameter compensation codes based on compensation state. Codes are

defined on post questions:  650 =Left, 651=Right, 639=Off.

Mill Turn Job

 

Measurement

Mill Job

Outputs blocks depending on current Inch/Metric mode. Blocks defined on 614=Inch,   615=Metric

Mill Turn Job

 

mt_output_rad_dia

Mill Job

Outputs the currently set mode Radius or Diameter based on post question: 1249. If

set to Radius mode the string from post question: 3561will be output. If set to

Diameter mode the string from post question: 3562 will be output.

 

API:

string MILLTURN_GetMtOutputRadDia()

 

g_arc_move

Mill Job

Outputs the arc strings based on the arc direction. Strings from  post questions:  682=CW, and 683=CCW.

Lathe Job

Mill Turn Job

 

rigid_tapping_start

Mill Job

Outputs the post block 22 which is used to output the code that puts the machine

in feed per revolution mode.

Lathe Job

Outputs the post block 1027 which is used to output the code that puts the machine

in feed per revolution mode.

Mill Turn Job

Outputs the post block 22 which is used to output the code that puts the machine

in feed per revolution mode.

 

rigid_tapping_end

Mill Job

Outputs the post block 23 which is used to output the code that puts the machine

in feed per minute mode.

Lathe Job

Outputs the post block 1028 which is used to output the code that puts the machine

in feed per minute mode.

Mill Turn Job

Outputs the post block 23 which is used to output the code that puts the machine

in feed per minute mode.

 

cross_rigid_tapping_start

Mill Turn Job

Outputs the post block 3020 if the post question: 3509 is set to Yes. These blocks

are used to put the machine in feed per revolution mode for the cross live tools.

 

cross_rigid_tapping_end

Mill Turn Job

Outputs the post block 3021 if the post question: 3509 is set to Yes. These blocks

are used to put the machine in feed per revolution mode for the cross live tools.

 

g_arc_plane

Mill Job

Outputs the strings from post question: 691=XY, 692=YZ, and 693=XZ based on the active plane.

Mill Turn Job

 

initialize_gcode

Mill Job

Restarts modality rule and forces the output of the next gcode. 

Mill Turn Job

 

work_plane

Mill Job

Outputs the active work plane (XY, YZ, XZ) G-code for the current operation from

post questions 691, 692, 693 respectively.

This variable can be used for machines which required to know the work plane in which the current operation is executed. Typically used in block 2,3,4 in Mill & MillTurn posts, 1002,1003,1004for lathe posts and polar start and end blocks (3005, 3006) for MillTurn posts

Lathe Job

Mill Turn Job

 

work_plane_G17

Mill Job

Outputs the XY work plane G-code for the current operation from post questions  691.

Lathe Job

Mill Turn Job

 

work_plane_G18

Mill Job

Outputs the YZ work plane G-code for the current operation from post questions 692

Lathe Job

Mill Turn Job

 

work_plane_G19

Mill Job

Outputs the XZ work plane G-code for the current operation from post questions 693

Lathe Job

Mill Turn Job

 

g_max_ss

Mill Turn Job

Outputs the code used to set the maximum spindle speed clamp. The output string

is defined on post question: 3577

 

API:

string MILLTURN_GetMaxSSGCode()

 

g_exact_stop

Mill Turn Job

Outputs the string that is used to put the machine in exact stop mode. The output

string is defined on post question: 3578

 

API:

string MILLTURN_GetExactStop()

 

g_exact_stop_modal_on

Mill Turn Job

Outputs the string that is used to turn on exact stop mode on the machine. This

is a modal variable. The string is defined on post question: 3579.

 

API:

string MILLTURN_GetExactStopModalOn()

 

g_exact_stop_modal_off

Mill Turn Job

Outputs the string that is used to turn off exact stop mode on the machine. This

is a modal variable. The string is defined on post question: 3580.

 

API:

string MILLTURN_GetExactStopModalOff()

 

g_balance_cut_on

Mill Turn Job

Outputs the string that defines turning ON balance cutting mode on the machine. The

output string is defined on post question: 3581.

 

API:

string MILLTURN_GetBalanceCutOn()

 

g_balance_cut_off

Mill Turn Job

Outputs the string that defines turning OFF balance cutting mode on the machine.

The output string is defined on post question: 3582.

 

API:

string MILLTURN_GetBalanceCutOff()

 

g_finish_cycle_code

Lathe Job

Outputs the string that defines the code used to activate a Lathe Finish Canned cycle. The string is defined on post question: 1870.

 

API:

string MILLTURN_GetFinishCycleCode()

Mill Turn Job

 

g_rough_cycle_code

Mill Turn Job

Outputs the string that defines the code used to activate a Lathe Roughing Canned

cycle. The string that is output depends on if the cycle is OD or Facing. 

The OD string that is output is defined on post question: 1871

The Face string that is output is defined on post question: 1872

 

API:

string MILLTURN_GetRoughCycleCode()

 

g_pattern_repeat_code

Mill Turn Job

Outputs the string that defines the pattern repeat cycle on the machine. The output

string is defined on post question: 1873

 

API:

string MILLTURN_GetPatternRepeatCode()

 

g_groove_cycle_code

Mill Turn Job

Outputs the string that defines the grooving cycle on the machine. The code that

is output depends on if the cycle is OD or Face orientation.

OD/ID code  is defined on post question: 1875

Face code is defined on post question: 1874

 

API:

string MILLTURN_GetGrooveCycleCode()

 

g_thread_cycle_code

Mill Turn Job

Outputs the string that turns on the thread cutting cycle on the machine. The code

that is output depends on if the cycle is OD or Face orientation.

OD/ID code is defined on post question: 1876

Face code is defined on post question: 1877

 

API:

string MILLTURN_GetThreadCycleCode()

M Codes

end_of_file

Mill Job

Outputs the string that defines the end of file to the machine. The string is defined

on post question: 625.

Mill Turn Job

 

stop

Mill Job

Outputs the string that defines a stop to the machine. The string is defined on

post question: 626

Lathe Job

Mill Turn Job

 

optional_stop

Mill Turn Job

Outputs the string that defines an optional stop to the machine. The string is defined

on post question: 627

 

spindle_on

Mill Job

Outputs the spindle ON string based on the current Forwar/Reverse state. The strings

output are defined on post question: 670=Forward, and post question: 671=Reverse.

Lathe Job

Outputs the spindle ON string based on the current Forward/Reverse state. The strings

output are defined on post question: 670=Forward, and post question: 671=Reverse.

 

API:

string LATHE_GetSpindleOn()

Mill Turn Job

Outputs the spindle ON string based on the currently active Workpiece device and

the Forward/Reverse state. Each Workpiece device has spindle codes that are used

for Forward, Reverse, and OFF. The post questions for these codes are as follows:

10x02 = Forward Code

10x03 = OFF Code

10x04 = Reverse Code

 

spindle_off

Mill Job

Outputs the string to turn off the spindle. The string output is defined on post

question: 671.

Lathe Job

Outputs the spindle OFF string. The output string is defined on post question: 672

 

API:

string LATHE_GetSpindleOff()

Mill Turn Job

Outputs the spindle OFF string based on the currently active Workpiece device. Each

Workpiece device has spindle codes that are used for Forward, Reverse, and OFF. The

post questions for these codes are as follows:

10x02 = Forward Code

10x03 = OFF Code

10x04 = Reverse Code

 

live_spindle_on

Mill Turn Job

Outputs the spindle ON Forward, OFF, and ON Reverse strings. The system will output the spindle strings based on the active Tool device. Each Tool device has spindle codes that are used.

 

The post questions for these string codes are as follows:

20x02  = ON Forward Code

20x03 = OFF Code

20x04 = ON Reverse Code

 

API:

string MILLTURN_GetLiveSpindleOn()

 

live_spindle_off

Mill Turn Job

Outputs the spindle OFF string. The system will output the spindle string based

on the active Tool device. Each Tool device has spindle codes that are used.

 

The post questions for these string codes are as follows:

20x02  = ON Forward Code

20x03 = OFF Code

20x04 = ON Reverse Code

 

 

API:

string MILLTURN_GetLiveSpindleOff()

 

live_spindle_on_forward

Mill Turn Job

Outputs the spindle ON Forward string. The system will output the spindle string

based on the active Tool device. Each Tool device has spindle codes that are used.

 

The post questions for these string codes are as follows:

20x02  = ON Forward Code

20x03 = OFF Code

20x04 = ON Reverse Code

 

 

API:

string MILLTURN_GetLiveSpindleOnForward()

 

live_spindle_on_reverse

Mill Turn Job

Outputs the spindle ON Forward string. The system will output the spindle string

based on the active Tool device. Each Tool device has spindle codes that are used. 

 

The post questions for these string codes are as follows:

20x02  = ON Forward Code

20x03 = OFF Code

20x04 = ON Reverse Code

 

 

API:

string MILLTURN_GetLiveSpindleOnReverse()

Coolant Codes

coolant_on

Mill Job

Outputs the coolant ON string. The strings output are as follows:

673 = Flood

706 = Mist

707 = Air

708 = Oil

Lathe Job

Outputs the coolant ON string. The string is defined on post question: 673

Mill Turn Job

Outputs the coolant ON string. The string that is output is dependant of the active

toolpiece device. Each toolpiece device has coolant codes for each of the coolant

types. The codes are as follows:

20x10 = Coolant 1 ON

20x11 = Coolant 2 ON

20x12 = Coolant 3 ON

20x13 = Coolant 4 ON

20x14 = Coolant OFF

 

coolant_off

Mill Job

Outputs the coolant OFF string. The string is defined on post question: 674

Lathe Job

Outputs the coolant OFF string. The string is defined on post question: 674

Mill Turn Job

Outputs the coolant OFF string. The string that is output is dependant of the active

toolpiece device. The post question defining the coolant OFF code is:

20x14 = Coolant OFF

 

LATHE_GetIsCoolantOn() – API Only

Lathe Job

Returns the current coolant state

 

API:

short LATHE_GetIsCoolantOn()

Mill Turn Job

 

LATHE_GetCoolantOn() – API Only

Lathe Job

Returns the coolant ON string

 

API:

string LATHE_GetCoolantOn()

Mill Turn Job

 

LATHE_GetCoolantOff() – API Only

Lathe Job

Returns the coolant OFF string

 

API:

string LATHE_GetCoolantOff()

Mill Turn Job

 

coolant_on_1

Mill Job

Outputs the coolant ON string for the first coolant option. The string is defined on post question: 840

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x40

 

coolant_on_2

Mill Job

Outputs the coolant ON string for the second coolant option. The string is defined on post question: 841

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x41

 

coolant_on_3

Mill Job

Outputs the coolant ON string for the third coolant option. The string is defined on post question: 842

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x42

 

coolant_on_4

Mill Job

Outputs the coolant ON string for the fourth coolant option. The string is defined on post question: 843

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x43

 

coolant_on_5

Mill Job

Outputs the coolant ON string for the fifth coolant option. The string is defined on post question: 844

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x44

 

coolant_on_6

Mill Job

Outputs the coolant ON string for the sixth coolant option. The string is defined on post question: 845

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x45

 

coolant_on_7

Mill Job

Outputs the coolant ON string for the seventh coolant option. The string is defined on post question: 846

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x46

 

coolant_on_8

Mill Job

Outputs the coolant ON string for the eight coolant option. The string is defined on post question: 847

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x47

 

coolant_on_9

Mill Job

Outputs the coolant ON string for the ninth coolant option. The string is defined on post question: 848

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x48

 

coolant_on_10

Mill Job

Outputs the coolant ON string for the tenth coolant option. The string is defined on post question: 849

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x49

 

coolant_off_1

Mill Job

Outputs the coolant OFF string for the first coolant option. The string is defined on post question: 850

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x50

 

coolant_off_2

Mill Job

Outputs the coolant OFF string for the second coolant option. The string is defined on post question: 851

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x51

 

coolant_off_3

Mill Job

Outputs the coolant OFF string for the third coolant option. The string is defined on post question: 852

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x52

 

coolant_off_4

Mill Job

Outputs the coolant OFF string for the fourth coolant option. The string is defined on post question: 853

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x53

 

coolant_off_5

Mill Job

Outputs the coolant OFF string for the fifth coolant option. The string is defined on post question: 854

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x54

 

coolant_off_6

Mill Job

Outputs the coolant OFF string for the sixth coolant option. The string is defined on post question: 855

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x55

 

coolant_off_7

Mill Job

Outputs the coolant OFF string for the seventh coolant option. The string is defined on post question: 856

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x56

 

coolant_off_8

Mill Job

Outputs the coolant OFF string for the eighth coolant option. The string is defined on post question: 857

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x57

 

coolant_off_9

Mill Job

Outputs the coolant OFF string for the ninth coolant option. The string is defined on post question: 858

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x58

 

coolant_off_10

Mill Job

Outputs the coolant OFF string for the tenth coolant option. The string is defined on post question: 859

Lathe Job

Mill Turn Job

Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x59

Canned Cycles

profile_start_x

Lathe Job

Outputs the canned turning cycle starting X position with prefix. The prefix string

is defined on post question: 684

 

API:

double LATHE_GetProfileStartX()

Mill Turn Job

Outputs the canned turning cycle starting X position with prefix. The prefix string

is defined on post question: 1801

 

API:

double MILLTURN_GetProfileStartX()

 

profile_start_z

Lathe Job

Outputs the canned turning cycle starting Z position with prefix. The prefix string

is defined on post question: 686

 

API:

double LATHE_GetProfileStartZ()

Mill Turn Job

Outputs the canned turning cycle starting Z position with prefix. The prefix string

is defined on post question: 1803

 

API:

double MILLTURN_GetProfileStartZ()

 

profile_end_x

Lathe Job

Outputs the canned turning cycle ending X position with prefix. The prefix string

is defined on post question: 684

 

API:

double LATHE_GetProfileEndX()

Mill Turn Job

Outputs the canned turning cycle ending X position with prefix. The prefix string

is defined on post question: 1801

 

API:

double MILLTURN_GetProfileEndX()

 

profile_end_z

Lathe Job

Outputs the canned turning cycle ending Z position with prefix. The prefix string

is defined on post question: 686

 

API:

double LATHE_GetProfileEndZ()

Mill Turn Job

Outputs the canned turning cycle ending Z position with prefix. The prefix string

is defined on post question: 1803

 

API:

double MILLTURN_GetProfileEndZ()

 

profile_end_x_top_of_thread

Mill Turn Job

Outputs the canned threading cycle ending X position with prefix. The prefix string

is defined on post question: 1801. This variable will output the X dimension without

the thread depth being taken into account.

 

API:

double LATHE_GetProfileEndXTopOfThread()

 

g_canned_cycle

Mill Job

Outputs the string defining the currently used cycle. The strings used are defined

on post questions: 800 through 831.

Lathe Job

Outputs the string defining the currently used cycle. The strings used are defined

on post questions: 1850 through 1868.

Mill Turn Job

Outputs the string defining the currently used cycle. The strings used are defined

on post questions: 800 through 831.

 

cancel_drill_cycle

Mill Job

Outputs the string that defines the Canned Cycle Cancel to the machine. The string

output is defined on post question: 679

Mill Turn Job

Outputs the string that defines the Canned Cycle Cancel code to the machine. There

are several Cancel codes that will be used. Output is determined by the current

drilling mode(Mill, Lathe, or Cross Drilling). The strings output are defined

as follows:

Mill Drill Cycle Cancel – 679

Lathe Drill Cycle Cancel - 679

Cross Drill Cycle Cancel - 3518

 

g98_g99   (Canned drilling reference return)

Mill Job

Outputs the current defined string based on post questions: 516 and 515. The output

strings are defined on post questions: 727 and 728.

Lathe Job

Outputs the current defined string based on post questions: 516 and 515. The output

strings are defined on post questions: 727 and 728.

Mill Turn Job

Mill(Face with Live Tooling) and Lathe(Face with Static Tooling) will output the

currently defined string based on post questions: 515 and 516. The strings output

are defined on post questions: 727 and 728

 

Cross Drilling will output the currently defined string based on post questions:

3513 and  3512. The strings output are defined on post questions: 3525 and 3526.

 

drill_depth

Mill Job

Outputs the drill depth with prefix. The prefix is defined on post question: 677

 

API:

double MILL_GetDrillDepth()

Lathe Job

Outputs the drill depth with prefix. The prefix is defined on post question: 1844

Mill Turn Job

Outputs the drill depth with prefix. The prefix is defined as the following:

Mill Operation(Face) – 677

Mill Operation(Cross – 3517

Lathe Operation(Face) - 1844

 

drill_depth_no_prefix

Mill Turn Job

Outputs the drill depth with NO prefix. 

 

z_drill

Mill Job

Outputs the Z axis position at the depth of the hole. The prefix is defined on post

question: 677

 

API:

double MILL_GetDrillZ()

Mill Turn Job

Outputs the Z axis position at the depth of the hole. The prefix is defined on post

question: 677

 

API:

double MILLTURN_GetDrillZ()

 

z_drill_no_prefix

Mill Job

Outputs the Z axis position at the depth of the hole with NO prefix.

 

API:

double MILL_GetDrillZ()

Mill Turn Job

Outputs the Z axis position at the depth of the hole with NO prefix

 

API:

double MILLTURN_GetDrillZ()

 

abs_drill_depth

Mill Job

Outputs the absolute value of the drilling depth with prefix. The prefix is defined

on post question: 677

 

API:

double MILL_GetAbsDrillDepth()

Mill Turn Job

Outputs the absolute value of the drilling depth with prefix. The prefix used depends

on the orientation of the drilling operation. The prefixes are defined as follows:

Mill (Face with Live Tooling) = Prefix defined on post question: 677

Lathe (Face with Static Tooling) = Prefix defined on post question: 677

Mill (Cross Drill with Live Tooling) = Prefix defined on post question: 3517

 

API:

double MILLTURN_GetAbsDrillDepth()

 

reference_plane

Mill Job

Outputs the value for the reference plane with prefix. The value is defined with post question 557. The prefix is defined on

post question: 649

 

API:

double MILL_GetReferencPlaneHeight()

Lathe Job

Outputs the value for the reference plane with prefix. The prefix is defined on post

question: 1849

Mill Turn Job

Outputs the value for the reference plane with prefix. The prefix used for output

depends on the orientation of the drilling operation. The prefixes are defined as

follows:

Mill (Face with Live Tooling) = Prefix defined on post question: 649

Lathe (Face with Static Tooling) = Prefix defined on post question: 649

Mill (Cross with Live Tooling) = Prefix defined on post question: 3514

 

API:

double MILLTURN_GetReferencPlaneHeight()

 

initial_plane

Mill Job

Outputs the value for the initial plane with prefix. The prefix is defined on post

question: 689

 

API:

double MILL_GetInitialPlaneHeight()

Lathe Job

Outputs the value for the initial plane with prefix. The prefix is defined on post

question: 1846

Mill Turn Job

Outputs the value for the initial plane with prefix. The prefixes used for output

depends on the orientation of the drilling operation. The prefixes are defined as

follows:

Mill (Face with Live Tooling) = Prefix defined on post question: 689

Lathe (Face with Static Tooling) = Prefix defined on post question: 1846

Mill (Cross with Live Tooling) = Prefix defined on post question: 3520

 

API:

double MILLTURN_GetInitialPlaneHeight()

 

canned_feed_rate

Mill Job

Outputs the value of the canned cycle feedrate with prefix. The prefix is defined

on post question: 687

 

API:

double MILL_GetCannedCycleFeedRate()

Lathe Job

Outputs the value of the canned cycle feedrate with prefix. The prefix is defined

on post question: 1845

Mill Turn Job

Outputs the value of the canned cycle feedrate with prefix. The prefix used for output

depends on the orientation of the drilling operation. The prefixes are defined as

follows:

Mill (Face with Live Tooling) = Prefix defined on post question: 687

Lathe (Face with Static Tooling) = Prefix defined on post question: 1845

Mill (Cross with Live Tooling) = Prefix defined on post question:  3519

 

API:

double MILLTURN_GetCannedCycleFeedRate()

 

peck_drill_increment

Mill Job

Outputs the value of the peck drilling increment with prefix. The prefix is defined

on post question: 676

 

API:

double MILL_GetPeckDrillIncrement()

Lathe Job

Outputs the value of the peck drilling increment with prefix. The prefix is defined

on post question: 1842

Mill Turn Job

Outputs the value of the peck drilling increment with prefix. The prefix used for

output depends on the orientation of the drilling operation. The prefixes are defined

as follows:

Mill (Face with Live Tooling) = Prefix defined on post question: 676

Lathe (Face with Static Tooling) = Prefix defined on post question: 1842

Mill (Cross with Live Tooling) = Prefix defined on post question: 3516

 

API:

double MILLTURN_GetPeckDrillIncrement()

 

peck_increment

Lathe Job

Outputs the value of the peck drilling increment with prefix. The prefix is defined

on post question: 1842

 

API:

double LATHE_GetPeckIncrement()

Mill Turn Job

Outputs the value of the peck drilling increment with prefix. The prefix used for

output depends on the orientation of the drilling operation. The prefixes are defined

as follows:

Mill (Face with Live Tooling) = Prefix defined on post question: 676

Lathe (Face with Static Tooling) = Prefix defined on post question: 1842

Mill (Cross with Live Tooling) = Prefix defined on post question: 3516

 

API:

double MILLTURN_GetPeckIncrement()

 

dwell

Mill Job

Outputs the dwell value with prefix. The prefix is defined on post question: 607

 

API:

double MILL_GetDwell()

Lathe Job

Outputs the dwell value with prefix. The prefix is defined on post question: 1847

 

API:

short LATHE_GetDrillDwell()

Mill Turn Job

Outputs the dwell value with prefix. The prefix output depends on the operation

type. 

Mill (Face and Cross drilling with Live Tooling) = 607

Lathe (Face drilling with Static Tooling) = 1847

 

API:

double MILLTURN_GetDwell()

 

gdwell

Mill Turn Job

Outputs the string defined for the Dwell code. The output string is defined on post

question: 655

 

API:

double MILLTURN_GetGDwell()

 

dwell_milliseconds

Mill Job

Outputs the dwell value with prefix. The prefix is defined on post question: 607

 

API:

short MILL_GetDwellMilliseconds()

Mill Turn Job

 

inc_z_depth

Mill Job

Outputs the incremental Z depth value with prefix. The prefix is defined on post

question: 677

Mill Turn Job

Outputs the incremental Z depth value with prefix. The prefix output depends on

the type and orientation of the operation. 

Mill (Face with Live Tooling) = 677

Lathe (Face with Static Tooling) = 677

Mill (Cross with Live Tooling) = 3515

 

first_peck_drill_increment

Mill Job

Outputs the value for the first peck drill increment with prefix. The prefix is

defined on post question: 675.

 

API:

double MILL_GetPeckDrillFirstPeckAmount()

Lathe Job

Outputs the value for the first peck drill increment with prefix. The prefix is

defined on post question: 1841.

Mill Turn Job

Outputs the value for the first peck drill increment with prefix. The prefix output

depends on the type and orientation of the operation.

Mill (Face with Live Tooling) = 675

Lathe (Face with Static Tooling) = 1841

Mill (Cross with Live Tooling) = 3515

 

API:

double MILLTURN_GetFirstPeckDrillIncrement()

 

drill_clearance   (Legacy Variable: z_clearance)

Mill Job

Outputs the Z axis position of the defined clearance in the Machine Setup with prefix.

The prefix is defined on post question: 686.

 

API:

double MILL_GetClearanceZ()

Mill Turn Job

Outputs the clearance position along the tool axis. The clearance position is defined

in the Machine Setup. This value is output with a prefix. The prefix is mapped

to the appropriate axis in the Prefix Mapping tables.

 

API:

double MILLTURN_GetDrillClearance()

 

drill_clearance_no_prefix

Mill Job

Outputs the Z axis position of the defined clearance in the Machine Setup with NO

prefix.

 

API:

double MILL_GetClearanceZ()

Mill Turn Job

Outputs the clearance position along the tool axis. The clearance position is defined

in the Machine Setup. This value is output with NO prefix.

 

API:

double MILLTURN_GetDrillClearance()

 

rough_x_allowance (deprecated)

(deprecated – used in v28 or previous)

 

Mill Job

Outputs the roughing canned cycle X axis allowance value with prefix.

 

API:

double LATHE_GetRoughXAllowance()

Mill Turn Job

Outputs the roughing canned cycle X axis allowance value with prefix.

 

API:

double MILLTURN_GetRoughXAllowance()

 

rough_cycle_rough_x_allowance

Lathe Job

Outputs the roughing canned cycle X axis allowance value with prefix. The prefix

is defined on post question: 1880

 

API:

double LATHE_GetRoughCycleRoughXAllowance()

Mill Turn Job

 

rough_cycle_finish_x_allowance

Lathe Job

Outputs the roughing and finish canned cycle X axis finish allowance value with prefix. The prefix is defined on post question: 1882

 

API:

double LATHE_GetRoughCycleFinishXAllowance()

Mill Turn Job

 

rough_z_allowance (deprecated)

(deprecated – used in v28 or previous)

 

Mill Job

Outputs the roughing canned cycle Z axis allowance value with prefix.

 

API:

double LATHE_GetRoughZAllowance()

Mill Turn Job

Outputs the roughing canned cycle Z axis allowance value with prefix.

 

API:

double MILLTURN_GetRoughZAllowance()

 

rough_cycle_rough_z_allowance

Lathe Job

Outputs the roughing canned cycle Z axis allowance value with prefix. The prefix

is defined on post question: 1881

 

API:

double LATHE_GetRoughCycleRoughZAllowance()

Mill Turn Job

 

rough_cycle_finish_z_allowance

Lathe Job

Outputs the roughing and finish canned cycle Z axis finish allowance value with prefix. The

prefix is defined on post question: 1883

 

API:

double LATHE_GetRoughCycleFinishZAllowance()

Mill Turn Job

 

rough_depth_of_cut

Lathe Job

Outputs the roughing canned cycle depth of cut value with prefix. The prefix is defined

on post question: 1804

 

API:

double LATHE_GetRoughDepthOfCut()

Mill Turn Job

Outputs the roughing canned cycle depth of cut value with prefix. The prefix is defined

on post question: 1804

 

API:

double MILLTURN_GetRoughDepthOfCut()

 

rough_depth_of_cut_two_line

Lathe Job

Outputs the roughing canned cycle depth of cut value needed for two line format with

prefix. The prefix is defined on post question: 1804

Mill Turn Job

 

rough_depth_of_cut_with_decimal

Lathe Job

Outputs the depth of cut for the one line canned cycle format with decimal format

and prefix. The prefix is defined on post question: 1804

Mill Turn Job

 

rough_depth_of_cut_two_line_decimal

Lathe Job

Outputs the depth of cut for the two line canned cycle format with decimal format

and prefix. The prefix is defined on post question: 1804

Mill Turn Job

 

rough_retract_amount

Lathe Job

Outputs the roughing canned cycle retract amount defined on post question: 1411 with

a prefix. The prefix is defined on post question: 1807

 

API:

double LATHE_GetRoughRetractAmount()

Mill Turn Job

Outputs the roughing canned cycle retract amount defined on post question: 1411 with

a prefix. The prefix is defined on post question: 1807

 

roughing_depth_of_cut_x

Lathe Job

Outputs the roughing canned cycle depth of cut in the X axis with prefix. The prefix

is defined on post question: 1823

Mill Turn Job

 

roughing_depth_of_cut_z

Lathe Job

Outputs the roughing canned cycle depth of cut in the Z axis with prefix. The prefix

is defined on post question: 1824

Mill Turn Job

 

roughing_depth_of_cut_x_decimal

Lathe Job

Outputs the roughing canned cycle depth of cut in the X axis with prefix with decimal

format. The prefix is defined on post question: 1823

Mill Turn Job

 

roughing_depth_of_cut_z_decimal

Lathe Job

Outputs the roughing canned cycle depth of cut in the Z axis with prefix with decimal

format. The prefix is defined on post question: 1824

Mill Turn Job

 

LATHE_GetIsRough() – API Only

Lathe Job

Returns a value indicating if this current operation is a roughing operation or not.

 

0 = Not Rough

1 = Is Rough

 

API:

string LATHE_GetIsRough()

Mill Turn Job

 

finish_x_spring_pass_stock_diameter

Lathe Job

Outputs the value of the X axis spring pass. The value is output in diameter with

prefix. The prefix is defined on post question: 1810

 

API:

double LATHE_GetFinishXSpringPassStockDiameter()

Mill Turn Job

Outputs the value of the X axis spring pass. The value is output in diameter with

prefix. The prefix is defined on post question: 1810

 

API:

double MILLTURN_GetFinishXSpringPassStockDiameter()

 

finish_z_spring_pass_stock_diameter

Lathe Job

Outputs the value of the Z axis spring pass with prefix. The prefix is defined on

post question: 1811

 

API:

double LATHE_GetFinishZSpringPassStockDiameter()

Mill Turn Job

Outputs the value of the Z axis spring pass with prefix. The prefix is defined on

post question: 1811

 

API:

double MILLTURN_GetFinishZSpringPassStockDiameter()

 

finish_x_allowance (deprecated)

(deprecated – used in v28 or previous)

 

Mill Job

Outputs the value of the X axis allowance as diameter value with prefix. The prefix

is defined on post question: 1808

 

API:

double LATHE_GetXFinishAllowance()

Mill Turn Job

Outputs the value of the X axis allowance as diameter value with prefix. The prefix

is defined on post question: 1808

 

API:

double MILLTURN_GetXFinishAllowance()

 

finish_z_allowance (deprecated)

(deprecated – used in v28 or previous)

 

Mill Job

Outputs the value of the Z axis allowance with prefix. The prefix is defined on

post question: 1809

 

API:

double LATHE_GetZFinishAllowance()

Mill Turn Job

Outputs the value of the Z axis allowance with prefix. The prefix is defined on post

question: 1809

 

API:

double MILLTURN_GetZFinishAllowance()

 

finish_number_of_cuts

Lathe Job

Outputs the number of finish cuts with prefix. The prefix is fixed to the “D” character.

This variable outputs the numbers of passes in pattern repeat cycle (Fanuc G73) as

well the number of finish passes for the threading cycle

 

API:

short LATHE_GetFinishNumberOfCuts()

Mill Turn Job

Outputs the number of finish cuts with prefix. The prefix is fixed to the “D” character.

This variable outputs the numbers of passes in pattern repeat cycle (Fanuc G73) as

well the number of finish passes for the threading cycle

 

API:

short MILLTURN_GetFinishNumberOfCuts()

 

finish_x_spring_pass_stock_radius

Lathe Job

Outputs the X axis radius value of the stock for finish operations with prefix. The

prefix is defined on post question:  1810

 

API:

double LATHE_GetFinishXSpringPassStockRadius()

Mill Turn Job

Outputs the X axis radius value of the stock for finish operations with prefix. The

prefix is defined on post question:  1810

 

API:

double MILLTURN_GetFinishXSpringPassStockRadius()

 

finish_z_spring_pass_stock_radius

Lathe Job

Outputs the Z axis value of the stock for finish operations with prefix. The prefix

is defined on post question: 1811

 

API:

double LATHE_GetFinishZSpringPassStockRadius()

Mill Turn Job

Outputs the Z axis value of the stock for finish operations with prefix. The prefix

is defined on post question: 1811

 

API:

double MILLTURN_GetFinishZSpringPassStockRadius()

 

finish_number_of_cuts_two_line

Lathe Job

Outputs the number of finish cuts with prefix. The prefix is set to “R”.

 

API:

short LATHE_GetFinishNumberOfCutsTwoLine()

Mill Turn Job

Outputs the number of finish cuts with prefix. The prefix is set to “R”.

 

API:

short MILLTURN_GetFinishNumberOfCutsTwoLine()

 

LATHE_GetIsFinish() – API Only

Lathe Job

Returns a value indicating if this current operation is a finishing operation or

not.

 

0 = Not Finish

1 = Is Finish

 

API:

string LATHE_GetIsFinish()

Mill Turn Job

 

pattern_repeat_depth_of_cut_x

Lathe Job

Returns the value calculated from the pattern repeat operation’s X Stock / Number

of Cuts. Prefix is defined on post question: 1884

 

API:

double LATHE_GetPatternRepeatDepthOfCutX()

Mill Turn Job

 

pattern_repeat_depth_of_cut_z

Lathe Job

Returns the value calculated from the pattern repeat operation’s Z Stock / Number

of Cuts. Prefix is defined on post question: 1885

 

API:

double LATHE_GetPatternRepeatDepthOfCutZ()

Mill Turn Job

 

pattern_repeat_fagor_a

Lathe Job

Returns the value to identify if the depth of cut is applied in the X or Z axis with

prefix defined on post question: 1797

 

0 = Front Face / Back Face

1 = OD/ID

 

API:

short LATHE_GetPatternRepeatFagorA()

Mill Turn Job

 

groove_x_bottom

Lathe Job

Outputs the X axis value for the bottom of the groove with prefix. The prefix is

defined on post question: 1813

 

API:

double LATHE_GetGrooveXBottom()

double MILLTURN_GetGrooveXBottom()

Mill Turn Job

 

groove_z_bottom

Lathe Job

Outputs the Z axis value for the bottom of the groove with prefix. The prefix is

defined on post question: 1814

 

API:

double LATHE_GetGrooveZBottom()

double MILLTURN_GetGrooveZBottom()

Mill Turn Job

 

groove_peck_increment

Lathe Job

Outputs the peck increment for the groove with prefix. The prefix is defined on post

question: 1816

 

API:

double LATHE_GetGroovePeckIncrement()

double MILLTURN_GetGroovePeckIncrement()

Mill Turn Job

 

groove_depth_of_cut

Lathe Job

Outputs the depth of cut value for the groove with prefix. The prefix is defined

on post question: 1815

 

API:

double LATHE_GetGrooveDepthOfCut()

double MILLTURN_GetGrooveDepthOfCut()

Mill Turn Job

 

groove_retract_amount

Lathe Job

Outputs the retract amount for the groove cycle with prefix. The prefix is defined

on post question: 1812 The value output is defined on post question: 1412

 

API:

double LATHE_GetGrooveCycleRetract()

double MILLTURN_GetGrooveDepthOfCut()

Mill Turn Job

 

groove_rvalue

Lathe Job

This variable outputs “R0.0000” only. This is typically used in two-line canned cycle

format which denotes the relief amount at the end of the cut.

Mill Turn Job

 

drill_dwell

Lathe Job

Outputs the dwell value with prefix. The prefix is defined on post question: 1825.

 

API:

double LATHE_GetDrillDwell()

double MILLTURN_GetDrillDwell()

Mill Turn Job

 

first_peck

Lathe Job

Outputs the first peck value with prefix. The prefix is defined on post question:

1841.

 

API:

double LATHE_GetFirstPeck()

double MILLTURN_GetFirstPeck()

Mill Turn Job

 

peck_clearance

Lathe Job

Outputs the peck clearance value with the prefix defined on post question:  1826.

 

API:

double LATHE_GetPeckClearance()

double MILLTURN_GetPeckClearance()

Mill Turn Job

 

peck_retract

Lathe Job

Outputs the peck retract value with prefix. The prefix is defined on post question:

1827.

 

API:

double LATHE_GetPeckRetract()

double MILLTURN_GetPeckRetract()

Mill Turn Job

 

tap_g32_gcode

Lathe Job

Outputs the string from post question 1821

Mill Turn Job

 

tap_g32_final_z

Lathe Job

Outputs the final Z axis position for the G32 tapping operation with prefix. The

prefix is defined on post question: 686.

 

API:

double LATHE_GetTapG32FinalZ()

Mill Turn Job

 

LATHE_GetTapCannedFinialZ() – API Only

Lathe Job

Returns the Z axis Final Z position for a canned tapping cycle.

 

API:

string LATHE_GetTapCannedFinalZ()

Mill Turn Job

 

tap_g32_initial_z

Lathe Job

Outputs the initial Z axis position for the G32 tapping operation with prefix. The

prefix is defined on post question: 686.

 

API:

double LATHE_GetTapG32InitialZ()

Mill Turn Job

 

tap_canned_gcode

Lathe Job

Outputs the string for left or right hand tapping based on the operation parameters.

The outputs strings are defined on post questions:

  • Right Hand Tapping = 1765
  • Left Hand Tapping = 1766

Mill Turn Job

 

tap_canned_gcode_right

Lathe Job

Outputs the string for right hand tapping. The output string is defined on post

question: 1765

Mill Turn Job

 

tap_canned_gcode_left

Lathe Job

Outputs the string for left hand tapping. The output string is defined on post question: 1766

Mill Turn Job

 

tap_reference_plane

Lathe Job

Outputs the tap reference plane value in decimal format with prefix. The prefix

is defined on post question: 1820

Mill Turn Job

 

tap_canned_final_z

Lathe Job

Outputs the tap final Z depth in decimal format with prefix. The prefix is defined

on post question: 686

Mill Turn Job

 

tap_canned_x

Lathe Job

Outputs the tap X value with prefix. The prefix is defined on post question: 684. With

lathe operations this will always return a value of “0.000”

Mill Turn Job

 

LATHE_GetTapCannedX()  - API Only

Lathe Job

Returns the X axis position for a canned tapping cycle. 

 

API:

double LATHE_GetTapCannedX()

Mill Turn Job

 

rigid_tapping_start

Lathe Job

Outputs a call to post block 1027. This is normally used to put the machine in feed

per revolution mode.

Mill Turn Job

 

rigid_tapping_end

Lathe Job

Outputs a call to post block 1028. This is normally used to put the machine in feed

per minute mode.

Mill Turn Job

 

tapping_feedrate   (tap_feed in Lathe)

Mill Job

Outputs the tapping feedrate with prefix. The prefix is defined on post question:

695

 

API:

double MILL_GetTappingFeedRate()

Lathe Job

Outputs the tapping feedrate with prefix. The prefix is defined on post question:

1768

 

API:

double LATHE_GetTapFeed()

Mill Turn Job

Outputs the tapping feedrate with prefix. The prefix output will be determined by

the orientation and type of operation. The following determines the prefix output:

  • Mill (Face with Live Tooling) = Prefix defined on post question: 695
  • Lathe (Face with Static Tooling) = Prefix defined on post question: 1305
  • Mill (Cross with Live Tooling) = Prefix defined on post question 3521

 

API:

double MILLTURN_GetTapFeed()

 

LATHE_GetTapThreadDirection() – API Only

Lathe Job

Returns the value identifying the tap thread direction.

 

0 = Right Hand

1 = Left Hand

 

API:

string LATHE_GetTapThreadDirection()

Mill Turn Job

 

tapping_spindle_speed

Mill Job

Outputs the tapping spindle speed with prefix. The prefix is defined on post question: 696

 

API:

double MILL_GetTappingSpindleSpeed()

Mill Turn Job

Outputs the tapping spindle speed with prefix. The prefix output will be determined

by the orientation and type of operation. The following determines the prefix output:

  • Mill (Face and Cross with Live Tooling) = Prefix defined on post question: 696
  • Lathe (Face with Static Tooling) = Prefix defined on post question: 1780

 

API:

double MILLTURN_GetTappingSpindleSpeed()

 

threads_per_inch

Mill Job

Outputs the number of threads per inch in Inch mode and threads per millimeter in

Metric mode with prefix. The prefix is defined on post question: 697

 

API:

double MILL_GetThreadsPerInch()

double MILLTURN_GetThreadsPerInch()

Mill Turn Job

 

thread_lead

Mill Job

Outputs the pitch of the thread with prefix. The prefix is defined on post question:

698

 

API:

double MILL_GetThreadsPitch()

Lathe Job

Outputs the lead of the thread with prefix. The prefix is defined on post question:

1705

Mill Turn Job

Outputs the pitch of the thread with prefix. The prefix is defined based on the orientation/type

of operation. The prefix is output as follows:

Mill (Face and Cross with Live Tooling) = Prefix defined on post question: 698

Lathe(Face with Static Tooling) = Prefix defined on post question: 705

 

API:

double MILLTURN_GetThreadPitch()

 

thread_x2

Lathe Job

Outputs the final X axis diameter value for the thread with prefix. The prefix is

defined on post question: 684.

 

API:

double LATHE_GetThreadX2()

Mill Turn Job

Outputs the final X axis diameter value for the thread with prefix. The prefix mapping

blocks are 5000 through  5049 for absolute, and 5050 through 5099 for incremental.

If prefix is not defined in the prefix blocks, then prefix specified in post question

684 will be used.

API:

double MILLTURN_GetThreadX2()

 

thread_z2

Lathe Job

Outputs the final Z axis value for the thread with prefix. The prefix is defined

on post question: 686.

 

API:

double LATHE_GetThreadZ2()

Mill Turn Job

Outputs the final Z axis value for the thread with prefix. The prefix mapping blocks

are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix

is not defined in the prefix blocks, then prefix specified in post question  686 will

be used.

 

API:

double MILLTURN_GetThreadZ2()

 

LATHE_GetThreadXMove() – API Only

Lathe Job

Returns the value for the thread X move in a long hand threading cycle. This does

not update with values when in a canned threading cycle.

 

API:

double LATHE_GetThreadXMove()

 

LATHE_GetThreadZMove() – API Only

Lathe Job

Returns the value for the thread Z move in a long hand threading cycle. This does

not update with values when in a canned threading cycle.

 

API:

double LATHE_GetThreadZMove()

 

thread_angle_out_start

Lathe Job

Outputs the string value that defines the thread start angle. The output string

is defined on post question: 1712.

Mill Turn Job

 

thread_angle_out_end

Lathe Job

Outputs the string value that defines the thread end angle. The output string is

defined on post question: 1713.

Mill Turn Job

 

LATHE_GetUseThreadAngleOut() – API Only

Lathe Job

This returns a value based on the setting for the Canned Cycle Chamfer Cut option

in the feature UI pages.

 

0 = OFF

1 = ON

 

API:

short LATHE_GetUseThreadAngleOut()

Mill Turn Job

 

LATHE_GetThreadFeedRate() – API Only

Lathe Job

Returns the value for the thread feedrate when the threading cycle type is set to

separate moves.

 

API:

double LATHE_GetThreadFeedRate()

Mill Turn Job

 

thread_height

Lathe Job

Outputs the thread height value with prefix. The prefix is defined on post question:

1793.

 

API:

short  LATHE_GetThreadHeight()

short MILLTURN_GetThreadHeight()

Mill Turn Job

 

thread_height_decimal

Lathe Job

Outputs the thread height value as decimal with prefix. The prefix is defined on

post question: 1793.

 

API:

short  LATHE_GetThreadHeight()

short MILLTURN_GetThreadHeight()

Mill Turn Job

 

thread_first_cut

Lathe Job

Outputs the thread first cut value with prefix. The prefix is defined on post question:

1792.

 

API:

double  LATHE_GetThreadFirstCut()

double  MILLTURN_GetThreadFirstCut()

Mill Turn Job

 

thread_first_cut_decimal

Lathe Job

Outputs the thread first cut value as decimal with prefix. The prefix is defined

on post question: 1792.

Mill Turn Job

 

thread_angle_in

Lathe Job

Outputs the angle in value for thread operations with prefix. The prefix is defined

on post question: 1794.

 

API:

double LATHE_GetAngleIn()

double MILLTURN_GetAngleIn()

Mill Turn Job

 

thread_angle_in_decimal

Lathe Job

Outputs the angle in value, as decimal, for thread operations with prefix. The prefix

is defined on post question: 1794.

Mill Turn Job

 

thread_chamfer_numofleads

Lathe Job

Outputs the number of leads value specified for threading canned cycle chamfer out . The prefix is defined on post question: 1798.


API: GetDoubleOfPostVariable(thread_chamfer_numofleads)


Mill Turn Job

 

thread_chamfer_distance

Lathe Job

Outputs the calculated chamfer distance in threading canned cycle. The value is calculated by Number of leads for canned cycle chamfer out multiplied by the pitch value. The prefix is defined on post question: 1799


API: GetDoubleOfPostVariable(thread_chamfer_distance)


Mill Turn Job

 

LATHE_GetThreadAngle() – API Only

Lathe Job

This returns the angle (in degrees) of the line selected for the threading operation.

 

API:

double LATHE_GetThreadAngle()

Mill Turn Job

 

thread_last_cut

Lathe Job

Outputs the thread last cut amount with prefix. The prefix is defined on post question: 1795.

 

API:

double LATHE_GetThreadLastCut()

double MILLTURN_GetThreadLastCut()

Mill Turn Job

 

thread_machine_allowance

Lathe Job

Outputs the thread machine allowance value with prefix. The prefix is defined on

post question: 1796. The allowance value is defined on post question: 1413.

 

API:

double LATHE_GetThreadMachineAllowance()

double MILLTURN_GetThreadMachineAllowance()

Mill Turn Job

 

thread_g33_gcode

Lathe Job

Outputs the string used to put the machine in separate moves type threading mode.

The string output is defined on post question: 680.

 

API:

string LATHE_GetG33GCode()

Mill Turn Job

Outputs the string used to put the machine in separate moves type threading mode.

The string output is defined on post question: 1797.

 

API:

string MILLTURN_GetThreadG33GCode()

 

thread_g33_xmove

Lathe Job

Outputs the X axis position of the G33 type threading cycle with prefix. The prefix

is defined on post question: 684.

Mill Turn Job

 

thread_g33_zmove

Lathe Job

Outputs the Z axis position of the G33 type threading cycle with prefix. The prefix

is defined on post question: 686.

Mill Turn Job

 

thread_g33_feedrate

Lathe Job

Outputs the threading feedrate value with prefix. The prefix is defined on post question: 1708 


(This Post variable uses the prefix defined in the Post question 1707 if the Post question 1708 is not defined in the Post Processor. V34 & previous versions doesn't support 1708.)


Mill Turn Job

 

taper_height

Lathe Job

Outputs the thread taper height with prefix. The prefix is defined on post question:

1817

 

API:

double LATHE_GetTaperHeight()

Mill Turn Job

 

g_thread_face_code

Mill Turn Job

Outputs the string defined for Lathe Face Threading cycles. The string output is

defined on post question: 1877

 

API:

string MILLTURN_GetThreadFaceCode()

 

g_thread_turn_code

Mill Turn Job

Outputs the string defined for Lathe OD/ID Threading cycles. The string output is

defined on post question: 1876

 

API:

string MILLTURN_GetThreadTurnCode()

 

g_cancel_canned_cycle

Mill Turn Job

Outputs the string defined for canceling Turning/Threading canned cycles. The output

string is defined on post question: 1878

 

API:

string MILLTURN_GetCancelCannedCycle()

 

heiden_ref_height

Mill Job

Outputs the reference height for the Heidenhain machines with prefix. The prefix

is set to “P01”

 

API:

double MILL_GetHeidenReferenceHeight()

double MILLTURN_GetHeidenReferenceHeight()

Mill Turn Job

 

heiden_depth

Mill Job

Outputs the depth value for the Heidenhain machines with prefix. The prefix is set

to “P02”

 

API:

double MILL_GetHeidenDepth()

double MILLTURN_GetHeidenDepth()

Mill Turn Job

 

heiden_peck_inc

Mill Job

Outputs the peck increment value for the Heidenhain machines with prefix. The prefix

is set to “P03”

 

API:

double MILL_GetHeidenPeckIncrement()

double MILLTURN_GetHeidenPeckIncrement()

Mill Turn Job

 

heiden_dwell

Mill Job

Outputs the dwell value for the Heidenhain machines with prefix. The prefix is set

to “P04”

 

API:

double MILL_GetHeidenDwell()

double MILLTURN_GetHeidenDwell()

Mill Turn Job

 

heiden_plunge_rate

Mill Job

Outputs the plunge feedrate with prefix. The prefix is set to “P05”

 

API:

double MILL_GetHeidenPlungeRate()

double MILLTURN_GetHeidenPlungeRate()

Mill Turn Job

Spindle Codes

s

Mill Job

Outputs the spindle speed for milling with prefix. The prefix is defined on post

question: 605.

 

API:

short MILL_GetSpindleSpeed()

Lathe Job

Outputs the spindle speed for turning with prefix. The prefix is defined on post

question: 605

 

API:

short LATHE_GetFinishSpindleSpeed()

short LATHE_GetCssRpm()

short LATHE_GetFinishCssRpm()

Mill Turn Job

Outputs the spindle speed for the operation. The prefix output will depend on the

operation being performed. The prefixes will be output as follows:

  • Mill (Live Tooling) = Prefix defined on post question: 605
  • Lathe (Static Tooling) = Prefix defined on post question: 1780

 

API:

short MILLTURN_GetSpindleSpeed()

 

LATHE_GetSpindleSpeedCode() – API Only

Lathe Job

Returns the codes defined for CSS and RPM from post questions:

1785 = CSS Code

1786 = RPM Code

 

API:

string LATHE_GetSpindleSpeedCode()

Mill Turn Job

 

LATHE_GetFinishSpindleSpeedCode() – API Only

Lathe Job

Returns the codes defined for CSS and RPM from post questions:

1785 = CSS Code

1786 = RPM Code

 

API:

string LATHE_GetFinishSpindleSpeedCode()

Mill Turn Job

 

sp_speed

Mill Job

Outputs the spindle speed with NO prefix.

Mill Turn Job

 

sp_on_css

Lathe Job

Outputs the spindle ON code and the spindle speed value with prefix. The spindle

ON code for CSS is defined on post question: 1785. The spindle speed value prefix

is defined on post question: 605.

Mill Turn Job

Outputs the spindle ON code and the spindle speed value with prefix. The spindle

ON code comes from the active Workpiece device and is defined as follows:

The spindle speed prefix is defined on post question: 605

 

sp_on_rpm

Lathe Job

Outputs the spindle ON code and the spindle speed value with prefix. The spindle

ON code for RPM is defined on post question:  1786. The spindle speed value prefix

is defined on post question: 605.

Mill Turn Job

Outputs the spindle ON code and the spindle speed value with prefix. The spindle

ON code comes from the active Workpiece device and is defined as follows:

The spindle speed prefix is defined on post question: 605

 

spsp_code

Lathe Job

Outputs the code for RPM or CSS based on the active mode set in the operation. The

RPM code is defined on post question: 1786. The CSS code is defined on post question: 1785.

Mill Turn Job

 

finish_spsp_code (deprecated)

Lathe Job

Outputs the spindle speed code for the finish cycle of an operation. 

 

out_css_rpm

Lathe Job

Outputs the spindle speed with prefix. The prefix is defined on post question: 605

 

API:

short LATHE_GetCssRpm()

Mill Turn Job

 

out_finish_css_rpm  (deprecated)

Lathe Job

Outputs the finish pass spindle speed with prefix. The prefix is defined on post

question: 1781

 

API:

short LATHE_GetFinishSpindleSpeed()

 

smax

Mill Job

Outputs the maximum spindle speed with prefix. The prefix is defined on post question:609

 

API:

short MILL_GetMaximumSpindleSpeed()

Lathe Job

Outputs the maximum spindle speed with prefix. The prefix is defined on post question: 609

 

API:

short LATHE_GetMaximumSpindleSpeed()

Mill Turn Job

Outputs the maximum spindle speed with prefix. The prefix output depends on the

operation type. The prefix will be output as the following:

  • Mill(Live Tooling) = Prefix from post question: 609
  •  Lathe(Static Tooling) = 609

 

API:

short MILLTURN_GetMaximumSpindleSpeed()

 

spindle_range

Mill Job

Outputs the gear range string based on the current spindle speed and the high range

speed defined on post question: 431

For speeds lower than the defined value the system calls post block 20

For speeds higher than the defined value the system calls post block 21.

Mill Turn Job

Outputs the gear range string based on the active Tool Device and the gear ranges

defined on post questions: 20x20 through 20x24. The strings that are output are

defined on post questions: 20x25 through 20x29

 

spindle_gear

Lathe Job

Outputs the gear range string based on the current spindle speed and the defined

ranges on post questions: 1517 through 1526. The strings output are defined on

post questions:  1831 through 1840.

 

API:

string LATHE_GetSpindleGear()

Mill Turn Job

Outputs the gear range string based on the current active Workpiece Device, spindle

speed and the defined ranges on post questions: 10x24 through 10x33. The strings

output are defined on post questions: 10x08 through 10x17

 

null

Mill Job

Outputs a Null character into the NC program

Mill Turn Job

 

z_sp_speed

Mill Job

Outputs the Z axis spindle speed with NO prefix. 

Mill Turn Job

 

z_s

Mill Job

Outputs the Z axis spindle speed with NO prefix. The prefix is defined on post question: 605

Mill Turn Job

Outputs the Z axis spindle speed with prefix. The prefix is defined based on the

active axis and the prefix mapping table in the post processor.

 

Spindle Mode – API Only

Mill Turn Job

Used to determine if the spindle is in CSS or RPM mode. 

Return Values:

0 = CSS

1 = RPM

 

API:

short MILLTURN_GetSpindleMode()

 

LATHE_GetPosRpm () – API Only

Lathe Job

Get the value of the pos_rpm variable.

 

API:

short LATHE_GetPosRpm()

Mill Turn Job

 

LATHE_GetPrevPosRpm () – API Only

Lathe Job

Get the previous value of the pos_rpm variable.

 

API:

short LATHE_GetPrevPosRpm()

Mill Turn Job

Tool

t

Mill Job

Outputs the tool number with the prefix that is set to “T”. Decimal places used

for the output formatting is defined on post question: 215.

 

API:

short MILL_GetToolNumber()

Lathe Job

Outputs the tool number with prefix. The prefix is defined on post question: 1781. The

number of places used for output is defined on post question: 1513 and the overall

output format is defined on post question: 1512. Reference the Tool Format section

of this document for the available options. 

 

NOTE: Only 1 through 5 are valid for Lathe Jobs.

 

API:

short LATHE_GetToolNumber()

Mill Turn Job

Outputs the tool number with the prefix that is set to “T”. The overall output format

is defined on post question: 20x30 and 20x31. Reference the Tool Format section

of this document for the available options. 

 

API:

short MILLTURN_GetToolNumber()

 

t1

Mill Job

Outputs the tool number with NO prefix. The decimal places used for the output formatting is defined on post question: 215

Lathe Job

Outputs the tool number with NO prefix. The number of decimal places used for output id defined on post question: 1513. The final output get the value from post question: 240 added to it.

 

API:

short LATHE_GetToolNumberT1()

Mill Turn Job

Outputs the tool number with NO prefix. The decimal places used for the output formatting is defined on post question: 215

 

t2

Mill Job

Outputs the tool number with NO prefix. The decimal places used for output is defined on post question: 215

Lathe Job

Outputs the tool number with NO prefix. The decimal places used for output is defined on post question: 1513. The final output get the value from post question: 241 added to it.

 

API:

short LATHE_GetToolNumberT2()

Mill Turn Job

Outputs the tool number with NO prefix. The decimal places used for output is defined on post question: 215

 

f_tool  (deprecated)

Lathe Job

Outputs the finish tool number of a feature with prefix. The prefix is defined on

post question: 1781

 

API:

short LATHE_GetFinishToolNumber()

Mill Turn Job

 

first_tool

Mill Job

Outputs the first tool number with NO prefix.

 

API:

double MILL_GetFirstToolNumber()

double LATHE_GetFirstToolNumber()

double MILLTURN_GetFirstToolNumber()

Lathe Job

Mill Turn Job

 

first_tool_with_prefix

Mill Job

Outputs the first tool number with prefix. The prefix is set to “T”. 

Mill Turn Job

 

next_tool

Mill Job

Outputs the next tool number with NO prefix.

 

API:

double MILL_GetNextToolNumber()

double LATHE_GetNextToolNumber()

double MILLTURN_GetNextToolNumber()

Lathe Job

Mill Turn Job

 

next_tool_with_prefix

Mill Job

Outputs the next tool number with prefix. The prefix is set to “T”. 

Mill Turn Job

 

tool_with_offset

Mill Job

Outputs the current tool number with a space and then the offset number. The tool

number prefix is set to the letter “T”. The offset has no prefix.

Mill Turn Job

 

next_tool_with_offset

Mill Job

Outputs the next tool number with a space and then the offset number. The tool number prefix is set to the letter “T”. The offset has no prefix.

Mill Turn Job

 

toolchange_code

Mill Turn Job

Outputs the string defined on post question: 654. This code defines the command

used to initiate a tool change on the machine. This code will only be output if

the active tool device post question 20x30 is set to a value of 7 or 8.

 

API:

string MILLTURN_GetToolchangeCode()

 

suffix_code

Mill Turn Job

Returns the Suffix Code of the current tool with NO prefix. This is a string value

with NO prefix commonly used for Mazak tool numbering.

 

API:

string MILLTURN_GetSuffixCode()

 

next_suffix_code

Mill Turn Job

Returns the Suffix Code of the next tool with NO prefix. This is a string value

with NO prefix commonly used for Mazak tool numbering.

 

API:

string MILLTURN_GetNextSuffixCode()

 

tool_orientation

Mill Turn Job

Outputs the orientation number in a 2 digit format with NO prefix. Used for Mazak

tool numbering. The value output comes from the Tool Orientation Mapping questions

in the post (5200 through 5208). The Tool Orientation Control parameters in a

turning feature is used to define the output.

 

API:

string MILLTURN_GetToolOrientation()    This returns the mapped string

integer MILLTURN_GetToolOrientationIndex()   This returns the orientation index value

 

LATHE_GetToolOrientation() – API Only

Lathe Job

Returns the current tool orientation. (Number 1-8)

 

API:

short LATHE_GetToolOrientation()

Mill Turn Job

 

MILLTURN_GetToolMountingOrientation() - API Only

Mill Turn Job

Returns the current tools mounting orientation integer from the tool crib.

 

API:

integer MILLTURN_GetToolMountingOrientation()

 

special

Lathe Job

Returns the tool number formatted with the offset canceled (T0100) The prefix is

defined on post question: 1781

 

API:

string LATHE_GetSpecialToolNumber()

string MILLTURN_GetSpecialToolNumber()

Mill Turn Job

 

f_special (deprecated)

Lathe Job

Returns the tool number formatted with the offset canceled (T0100) The prefix is

defined on post question: 1781

 

API:

string LATHE_GetFinishSpecialToolNumber()

string MILLTURN_GetFinishSpecialToolNumber()

Mill Turn Job

 

n_tool (deprecated)

Lathe Job

Outputs the current line number

Mill Turn Job

 

n_ftool (deprecated)

Lathe Job

Outputs the current line number

Mill Turn Job

 

p_tool_num

Lathe Job

Outputs the tool number with NO prefix.

Mill Turn Job

 

p_ftool_num (deprecated)

Lathe Job

Outputs the tool number for finishing operation with NO prefix.

Mill Turn Job

 

p_special

Lathe Job

Outputs the tool number with a prefix defined on post question  1781.

Mill Turn Job

 

list_tool_number

Mill Job

Outputs the tool list number with NO prefix.

Mill Turn Job

 

tool_diameter

Mill Job

Outputs the value of the diameter of the milling tool with NO prefix.

 

API:

double MILL_GetToolDiameter()

double MILLTURN_GetToolDiameter()

Mill Turn Job

 

tool_radius

Mill Job

Outputs the value of the radius of the milling tool with NO prefix.

 

API:

double MILL_GetToolRadius()

double MILLTURN_GetToolRadius()

Mill Turn Job

 

tool_name

Mill Job

Outputs the string containing the tool name. The names that are output are the tool

types that can be seen in the tool crib.

 

API:

string MILL_GetToolName()

string MILLTURN_GetToolName()

Mill Turn Job

 

tool_protrusion_length

Mill Job

Outputs the protrusion length of the tool with NO prefix. 

 

API:

double MILL_GetToolProtrusionLength()

double MILLTURN_GetToolProtrusionLength()

Mill Turn Job

 

tool_length

Mill Job

Outputs the length of the tool with NO prefix. 

 

API:

double MILL_GetToolLength()

double MILLTURN_GetToolName()

Mill Turn Job

Feed Rate

feed_rate

Mill Job

Outputs the current feed rate value with prefix. The prefix is defined on post question: 606

 

API:

double MILL_GetFeedRate()

Mill Turn Job

Outputs the current feed rate value with prefix. The prefix output depends on the

orientation and type of operation. The prefix is defined as follows:

  • Mill UPM = Prefix from post question: 606
  • Mill Inverse Time = Prefix from post question:  714
  • Lathe UPM = Prefix from post question:  1707
  • Lathe UPR = Prefix from post question: 1706

 

API:

double MILLTURN_GetFeedRate()

 

f

Mill Job

Outputs the current feed rate with prefix. The prefix is defined on post question:

606

Lathe Job

Outputs the current feedrate with prefix. The prefix is based on Feed Per Minute

or Feed Per Revolution. The prefixes output are defined as follows:

  • Feed Per Revolution (FPR) = Post question: 1706
  • Feed Per Minute (FPM) = Post question: 1707

Mill Turn Job

Outputs the current feed rate with prefix. The prefix is defined based on the orientation/type of operation. 

  • Mill (Face and Cross Live Tooling) = Prefix from post question: 606
  • Lathe (FPR) = Prefix from post question: 1706
  • Lathe (FPM) = Prefix from post question: 1707

 

force_feed_rate_on

Mill Job

This is a command that forces the output of the feed rate on lines following it’s

use.

Mill Turn Job

 

force_feed_rate_off

Mill Job

This is a command that suppresses the output of the feed rate on the line. 

Mill Turn Job

 

z_feed_rate

Mill Job

Outputs the feedrate from post block 51 with a value representing the Z axis(Plunge)

feedrate. The prefix output is defined on post question: 705

Mill Turn Job

 

feed_mode_inv

Mill Job

Outputs the string that defines Inverse Time feed mode on the machine. The string

output is defined on post question: 714

Mill Turn Job

 

feed_mode_upm

Mill Job

Outputs the string that defines Unit Per Minute feed mode on the machine. The string

output is defined on post question: 715

Mill Turn Job

 

feed_mode_upr

Mill Turn Job

feed_mode_uprOutputs the string that defines Unit Per Revolution feed mode on the machine. The string output is defined on post question: 729

 

force_feed_mode_upr

Mill Turn Job

force_feed_mode_upr forces the output of the string that defines Unit Per Revolution feed mode on the machine. The string output is defined on post question: 729

 

feed_rate_upm

Lathe Job

Outputs the feed rate for Unit per Minute with prefix string defined on post question

1707

Mill Turn Job

Outputs the feed rate for Unit Per Minute feed with prefix. The prefix string is

defined based on operation type as follows:

  • Mill Operations = String defined on post question: 606
  • Lathe Operation = String defined on post question: 1707

 

API:

string MILLTURN_GetFeedRateUPM()

 

feed_rate_upr

Mill Turn Job

Outputs the feed rate for Unit Per Revolution feed with prefix. The prefix string

is defined based on operation type as follows:

  • Mill Operations = String defined on post question: 606
  • Lathe Operation = String defined on post question: 1707

 

API:

string MILLTURN_GetFeedRateUPR()

 

feed_mode

Lathe Job

Outputs the strings that will put the machine in Feed Per Minute or Inverse Time

mode on the machine. The strings output depend on the current mode determined by

the operation. The strings are defined as follows:

  • Unit Per Minute = String defined on post question: 715
  • Inverse Time Feed = String defined on post question: 714

 

API:

short MILL_Get_FeedMode()

short MILLTURN_Get_FeedMode()

0 = UPM

1 = Inverse Feed

Mill Turn Job

 

finish_feed  (deprecated)

Mill Job

Outputs the current feedrate with prefix. The output depends on the active feed mode

(Unit Per Minute or Unit Per Revolution). The prefix output is defined as follows:

  • Unit Per Minute = String defined on post question:  1707
  • Unit Per Revolution = String defined on post question: 1706

 

API:

string LATHE_GetFinishFeedRate()

Mill Turn Job

 

rough_feed  (deprecated)

Lathe Job

Outputs the current feedrate with prefix. The output depends on the active feed mode

(Unit Per Minute or Unit Per Revolution). The prefix output is defined as follows:

  • Unit Per Minute = String defined on post question: 1707
  • Unit Per Revolution = String defined on post question: 1706

 

 API:

double LATHE_GetRoughFeedRate()

Mill Turn Job

 

tap_feed_mode

Lathe Job

Outputs the string defining the mode for the tapping cycle. The string output are

as follows:

  • Feed Per Minute = String defined on post question: 715
  • Feed Per Revolution = String defined on post question: 729

 

API:

string LATHE_GetTapFeedMode()

Mill Turn Job

Outputs the string defining the mode for the tapping cycle. The string output are

as follows:

  • Feed Per Minute = String defined on post question: 1763
  • Feed Per Revolution = String defined on post question:  1764

 

API:

string MILLTURN_GetTapFeedMode()

 

LATHE_SetTapFeedMode(short FeedMode) – API Only

Lathe Job

Sets the feed mode for the tapping cycle. Post question: 1305 is the default setting

for the tap mode.

 

0 = Unit Per Minute

1 = Unit Per Revolution

 

API:

LATHE_SetTapFeedMode(short FeedMode)

 

LATHE_GetFinishFeedRate() – API Only

Lathe Job

Returns the current finish feedrate.

 

API:

double LATHE_GetFinishFeedRate()

 

LATHE_GetFeedRate() – API Only

Lathe Job

Returns the current feedrate.

 

API:

double LATHE_GetFeedRate()

Stock Feed Variables

init_stock_z

Lathe Job

Outputs the initial Z axis position of the stock with a prefix for the stock feed

operation. The prefix is defined on post question: 686

Mill Turn Job

 

init_stock_x

Lathe Job

Outputs the initial X axis position of the stock with a prefix for the stock feed

operation. The prefix is defined on post question: 684

Mill Turn Job

 

stock_from_x

Lathe Job

Outputs the value with the prefix from the stock feed operation for the X axis starting

position. The prefix is defined on post question: 684

Mill Turn Job

 

stock_from_z

Lathe Job

Outputs the value with the prefix from the stock feed operation for the Z axis starting

position. The prefix is defined on post question: 686

Mill Turn Job

 

stock_to_z

Lathe Job

Outputs the value with the prefix from the stock feed operation for the Z axis ending

position. The prefix is defined on post question: 686

Mill Turn Job

 

stock_feed_t

Lathe Job

Outputs the tool value entered into the stock feed operation for the tool with prefix. The prefix is defined on post question:  1781

Mill Turn Job

 

stock_feedrate

Lathe Job

Outputs the value entered for the feedrate into the stock feed operation.

Mill Turn Job

 

stock_rapid_feedrate

Lathe Job

Outputs the value entered for the rapid feedrate into the stock feed operation.

Mill Turn Job

 

stock_zh

Lathe Job

Outputs the value entered into the stock feed operation for the Z axis home with

prefix. The prefix is defined on post question:  686.

Mill Turn Job

Outputs the value entered into the stock feed operation for the Z axis home with

prefix. The prefix is defined on post question:  1803.

 

stock_xh

Lathe Job

Outputs the value entered into the stock feed operation for the X axis home with

prefix. The prefix is defined on post question:  684.

Mill Turn Job

Outputs the value entered into the stock feed operation for the X axis home with

prefix. The prefix is defined on post question:  1801.

 

output_first_stock_feed

Lathe Job

Command that must be located in the first tool change block to output the stock feed

as the first operation in a program. If you do not have this variable in the previously

defined blocks and the part program has the stock feed operation as the very first

feature the NC output will not be correct.

Mill Turn Job

 

rapid_to_pickup_z

Lathe Job

Outputs the Z axis position for the Clamp position defined in the stock feed operation

parameters. The prefix is defined on post question: 686

Mill Turn Job

Outputs the Z axis position for the Clamp position defined in the stock feed operation

parameters. The prefix is defined on post question: 1803.

 

rapid_to_position_x

Lathe Job

Outputs the X axis position for the Clamp Position defined in the stock feed operation

parameters. The prefix is defined on post question: 686

Mill Turn Job

Outputs the X axis position for the Clamp Position defined in the stock feed operation

parameters. The prefix is defined on post question: 1803.

 

rapid_to_position_z

Lathe Job

Outputs the Z axis initial position defined in the stock feed operation. The prefix

is defined on post question: 686

Mill Turn Job

Outputs the Z axis initial position defined in the stock feed operation. The prefix

is defined on post question: 1803.

 

rapid_to_stock_feed_z

Lathe Job

Outputs the Z axis end position defined in the stock feed operation. The prefix is

defined on post question: 686

Mill Turn Job

Outputs the Z axis end position defined in the stock feed operation. The prefix is

defined on post question: 1803

Stroke Limit

g_stroke_limit_on

Mill Turn Job

Outputs the string that turns ON the Stroke Limit function on the machine’s controller.

The output string is defined on post question: 3569

API:

string MILLTURN_GetStrokeLimitOn()

 

g_stroke_limit_off

Mill Turn Job

Outputs the string that turns OFF the Stroke Limit function on the machine’s controller. The output string is defined on post question: 3570

 

API:

string MILLTURN_GetStrokeLimitOff()

 

stroke_limit_x

Mill Turn Job

Outputs the value with prefix used to define the 1st point X position for the stroke

limit. The prefix is defined on post question: 3571

 

API:

string MILLTURN_GetStrokeLimitX()

 

stroke_limit_y

Mill Turn Job

Outputs the value with prefix used to define the 1st point Y position for the stroke

limit. The prefix is defined on post question: 3572

 

API:

dtring MILLTURN_GetStrokeLimitY()

 

stroke_limit_z

Mill Turn Job

Outputs the value with prefix used to define the 1st point Z position for the stroke

limit. The prefix is defined on post question: 3573

 

API:

string MILLTURN_GetStrokeLimitZ()

 

stroke_limit_i

Mill Turn Job

Outputs the value with prefix used to define the 2nd point X position for the stroke

limit. The prefix is defined on post question: 3574

 

API:

string MILLTURN_GetStrokeLimitI()

 

stroke_limit_j

Mill Turn Job

Outputs the value with prefix used to define the 2nd point Y position for the stroke

limit. The prefix is defined on post question: 3575

 

API:

string MILLTURN_GetStrokeLimitJ()

 

stroke_limit_k

Mill Turn Job

Outputs the value with prefix used to define the 2nd point Z position for the stroke

limit. The prefix is defined on post question: 3576

 

API:

string MILLTURN_GetStrokeLimitK()

Torque Skip

g_torque_skip

Mill Turn Job

Outputs the string that puts the machine in Torque Skip Mode (Used in part transfers)

The output string is defined on post question 3566.

 

API:

string MILLTURN_GetTorqueSkip()

 

g_torque_limit_on

Mill Turn Job

Outputs the string that is used to enable the torque limit mode on the machine. The

output string is defined on post question: 3567

 

API:

string MILLTURN_GetTorqueLimitOn()

 

g_torque_limit_cancel

Mill Turn Job

Outputs the string that cancels the torque limit mode on the machine. The output

string is defined on post question: 3568

 

API:

string MILLTURN_GetTorqueLimitCancel()

Offset

cancel_offset

Mill Job

Outputs the string representing the compensation OFF command. The output string

is defined on post question: 639

Lathe Job

Mill Turn Job

 

force_cancel_offset

Mill Job

Forces the output of the cancel cutter compensation code. The string is defined

on post question: 639

Mill Turn Job

 

d_offset

Mill Job

Outputs the tool diameter offset value with prefix. The prefix string is defined

on post question:  678

 

API:

double MILL_GetToolDiamCompNumber()

double MILL_GetToolDiamCompNumberWithAddAmount()

Lathe Job

Outputs the offset value with no formatting or prefix.

Mill Turn Job

Outputs the tool diameter offset value with prefix. The prefix string is defined

on post question:  678

 

API:

double MILLTURN_GetToolDiamCompNumber()

 

t_offset

Mill Job

Outputs the tool diameter offset value with NO prefix.

Lathe Job

Outputs the offset in a format determined by post question: 513. The value is output

with NO prefix.

Mill Turn Job

Outputs the tool diameter offset value with NO prefix.

 

l_offset

Mill Job

Outputs the length offset value with NO prefix.

 

API:

double MILL_GetToolLengthCompNumber()

Lathe Job

Outputs the offset value formatted by post question: 1513

 

API:

double LATHE_GetLengthOffsetNumber()

Mill Turn Job

Outputs the length offset value with NO prefix.

 

API:

double MILLTURN_GetToolLengthOffsetNumber()

 

length_offset

Mill Job

Outputs a call to post block: 14 that is used to format and output the tool length

offset commands.

Lathe Job

Mill Turn Job

Laser Plasma Waterjet

lpw_cutter_width

Mill Job

Returns the diameter of the laser/plasma/waterjet tool for the current operation

with prefix. The prefix is defined on post question: 750

 

API:

double MILL_GetLPWCutterWidth()

 

lpw_pierce_height

Mill Job

Returns the Z pierce height for laser/plasma/waterjet tools with prefix. The prefix

is defined on post question: 751

 

API:

double MILL_GetLPWPierceHeight()

 

lpw_cutter_on_off

Mill Job

Returns the status of the cutter ON and OFF option in the LPW tool page.

 

0 = OFF – Code defined on post question: 752

1 = ON – Code defined on post question: 753

 

API:

short MILL_GetLPWIsCutterOnOff()

 

lpw_cutter_on

Mill Job

Returns the Cutter ON string from block 752.

 

API:

double MILL_GetLPWGetCutterOnString()

 

lpw_cutter_off

Mill Job

Returns the Cutter OFF string from block 753.

 

API:

double MILL_GetLPWGetCutterOffString()

 

lpw_gas_assist_on_off

Mill Job

Returns the status of the Gas Assist option in the LPW Tool page.

 

0 = OFF – String from post question: 761

1 = ON – String from post question:  760

 

API:

short MILL_GetLPWIsGasAssistOnOff()

 

lpw_gas_assist_on

Mill Job

Returns the Gas Assist ON string from post question:760.

 

API:

string MILL_GetLPWGetGasAssistOnString()

 

lpw_gas_assist_off

Mill Job

Returns the Gas Assist OFF string from post question: 761.

 

API:

string MILL_GetLPWGetGasAssistOffString()

 

lpw_gas_assist_type

Mill Job

Returns the type of Gas Assist selected in the LPW Tool page.

 

0 = Air – String from post question: 762

1 = Oxygen – String from post question: 763

2 = Oxyacetylene – String from post question: 764

 

API:

short MILL_GetLPWIsGasAssistType()

 

MILL_GetLPWGetGassAssistAirString() – API Only

Mill Job

Returns the Gas Assist Air string from post question 762.

 

API:

string MILL_GetLPWGetGassAssistAirString()

 

MILL_GetLPWGetGasAssistOxygenString() – API Only

Mill Job

Returns the Gas Assist Oxygen string from block 763.

 

API:

string MILL_GetLPWGetGasAssistOxygenString()

 

MILL_GetLPWGetGasAssistOxyacetyleneString() – API Only

Mill Job

Returns the Gas Assist Oxyacetylene string from block 764.

 

API:

string MILL_GetLPWGetGasAssistOxyacetyleneString()

 

lpw_shutter_open

Mill Job

Returns the Shutter Open string from post question: 765

 

API:

string MILL_GetLPWGetShutterOpenString()

 

lpw_shutter_open_closed

Mill Job

Returns the Shutter Open/Closed state.

  • Open – String found on post question: 765
  • Closed – String found on post question:  766

 

lpw_shutter_closed

Mill Job

Returns the Shutter Closed string from post question: 766

 

API:

string MILL_GetLPWGetShutterClosedString()

 

lpw_pulse_frequency

Mill Job

Returns the Laser Pulse Frequency specified on the Tool page. The prefix is defined

on post question: 767

 

API:

short MILL_GetLPWGetPulseFrequency()

 

lpw_power_setting

Mill Job

Returns the Laser Power setting specified on the LPW tool page with prefix. The

prefix is defined on post question: 768

 

API:

short MILL_GetLPWPowerSetting()

 

lpw_torch_height_control

Mill Job

Returns the value specified in the Torch Height Control on the LPW tool page with prefix. The prefix is defined on post question: 769

 

API:

short MILL_GetLPWTorchHeightControl()

 

lpw_waterjet_abrasive_on_off

Mill Job

Outputs the abrasive on or off code based on what is selected in the machining feature. 

  • ON – String found on post question:  780
  • OFF – String found on post question: 781

 

lpw_waterjet_abrasive_on

Mill Job

Outputs the abrasive ON command. The string is defined on post question: 780

 

lpw_waterjet_abrasive_off

Mill Job

Outputs the abrasive OFF command. The string is defined on post question: 781

 

lpw_waterjet_vacuum_assist_on_off

Mill Job

Outputs the vacuum on or off code based on what is selected in the machining feature.

  • ON – String defined on post question: 782
  • OFF – String defined on post question: 783

 

lpw_waterjet_vacuum_assist_on

Mill Job

Outputs the vacuum ON code. The string is defined on post question: 782

 

lpw_waterjet_vacuum_assist_off

Mill Job

Outputs the vacuum OFF code. The string is defined on post question: 783

 

lpw_waterjet_pressure_type

Mill Job

Outputs the pressure command based on selection in the machining feature.

  • Low – String defined on post question: 784
  • Medium – String defined on post question: 785
  • High – String defined on post question:  786

Origin Tracking

origin_tracking_on

Mill Job

Outputs the string to turn ON the origin tracking on the machine. The string output

is defined on post question: 730

Mill Turn Job

 

origin_tracking_off

Mill Job

Outputs the string to turn OFF the origin tracking on the machine. The string output

is defined on post question:  731

Mill Turn Job

RTCP Codes

rtcp_code_on

Mill Job

Outputs the string to turn ON the RTCP command on the machine. The string output

is defined on post question: 720

Mill Turn Job

 

rtcp_code_off

Mill Job

Outputs the string to turn OFF the RTCP command on the machine. The string output

is defined on post question: 721

Mill Turn Job

Mill Turn

g112 (Deprecated: Used in V27 and Previous)

Lathe Job

Outputs the string used to turn ON Polar Milling mode. The string output is set to

“G112”

Mill Turn Job

 

g113 (Deprecated: Used in V27 and Previous)

Lathe Job

Outputs the string used to turn OFF Polar Milling mode. The string output is set

to “G113”

Mill Turn Job

 

mt_mode

Mill Turn Job

Outputs the string for the active mode.

  • C axis Enabled for Milling mode
  • C axis Disabled for Turning mode

The string values output depends on the active Workpiece device. The strings are

defined on post questions: 10x18 and 10x19.

 

API:

string MILLTURN_GetMTMode()

 

Posting Mode – API Only

Mill Turn Job

Used to get the posting mode. The posting mode is found on the posting page of Mill

Turn features.

Return Values:

0 = Longhand

1 = Auto/Y Axis Mode

2 = Polar Interpolation Mode

 

API:

short MILLTURN_GetPostingMode()

 

Operation Type – API Only

Mill Turn Job

Used to determine of the operation is Mill or Lathe. Boolean value is returned.

 

API:

boolean MILLTURN_IsLatheOperation()

 

Polar Mode – API Only

Mill Turn Job

Used to determine if polar mode is active

 

API:

boolean MILLTURN_IsPolarMode()

 

y_axis_mode

Mill Turn Job

Outputs the string value used to turn ON or OFF the Y Axis mode on the machine. The

output strings are defined on post questions:

ON = Post Question: 3590

OFF = Post Question: 3591

 

y_axis_mode_disable

Mill Turn Job

Outputs the string value used to turn OFF the Y Axis mode on the machine. The output

string is defined on post question: 3591

MDI

MDI_BeforeToolChange

Mill Turn Job

This command variable specifies the location where the MDI blocks defined in the

Before Tool Change task list should be output. 

 

MDI_AfterToolChange

Mill Turn Job

This command variable specifies the location where the MDI blocks defined in the

With Tool Change task list should be output. 

 

MDI_AfterOperation

Mill Turn Job

This command variable specifies the location where the MDI blocks defined in the

After Operation task list should be output.

 

MDI_custom_double_xxxx

Mill Turn Job

A custom double variable that can be used inside of a custom MDI command to output a double value in the NC code. The name of the field that appears in the MDI UI is the “xxxx” which needs to be replaced with a meaningful name.

 

MDI_custom_int_xxxx

Mill Turn Job

A custom integer variable that can be used inside of a custom MDI command to output an integer value in the NC code. The name of the field that appears in the MDI UI is the “xxxx” which needs to be replaced with a meaningful name.

 

MDI_custom_string_xxxx

Mill Turn Job

A custom string variable that can be used inside of a custom MDI command to output a string in the NC code. The name of the field that appears in the MDI UI is the “xxxx” which needs to be replaced with a meaningful name.

 

NOTE: Custom Tasks created in the "Task List" will dynamically create the variable that is used to trigger its

output. Whatever the task is named is used to create the variable name. 



Example:

In the UI the task is named: "Custom Task". The variable name will be "MDI_CustomTask". Any

spaces in the task name will be removed in the variable name. Also note that

you cannot use the "_" character.

Tailstock

tailstock_advance_code

Mill Turn Job

Outputs the code used to make the tailstock advance on the machine. The output string is defined for each tailstock device’s post question: 30x01

 

API:

string MILLTURN_GetTailstockAdvanceCode()


tailstock_retract_code

Mill Turn Job

Outputs the code used to make the tailstock retract on the machine. The output string

is defined for each tailstock device’s post question: 30x02

 

API:

string MILLTURN_GetTailstockRetractCode()

 

tailstock_advance_code_1 through

tailstock_advance_code_10

Mill Turn Job

Outputs the code used to make the tailstock advance on the machine. The output string

is defined for each specific tailstock device’s post question: 30x01. The last number

in the variable name defines the tailstock device that should be output.

 

API:

string MILLTURN_GetTailstockAdvanceCodeOfDevice(int)



tailstock_retract_code_1 through

tailstock_retract_code_10

Mill Turn Job

Outputs the code used to make the tailstock retract on the machine. The output string

is defined for each specific tailstock device’s post question: 30x01. The last number

in the variable name defines the tailstock device that should be output.

 

API:

string MILLTURN_GetTailstockRetractCodeOfDevice(int)

 

tailstock_device_command_block_1_1

through tailstock_device_command_block_1_10

Mill Turn Job

This variable will call and process the code that is in the defined tailstock device’s  Command Block 1 postblock. The last number in the variable name specifies the specific tailstock device to be called.



tailstock_device_command_block_2_1

through tailstock_device_command_block_2_10

Mill Turn Job

This variable will call and process the code that is in the defined tailstock device’s  Command Block 2 postblock. The last number in the variable name specifies the specific tailstock device to be called.

 

tailstock_device_command_block_3_1

through tailstock_device_command_block_3_10

Mill Turn Job

This variable will call and process the code that is in the defined tailstock device’s  Command Block 3 postblock. The last number in the variable name specifies the specific tailstock device to be called.



tailstock_device_command_block_4_1

through tailstock_device_command_block_4_10

Mill Turn Job

This variable will call and process the code that is in the defined tailstock device’s  Command Block 4 postblock. The last number in the variable name specifies the specific tailstock device to be called.

 

tailstock_device_command_block_5_1 through

tailstock_device_command_block_5_10

Mill Turn Job

This variable will call and process the code that is in the defined tailstock device’s  Command Block 5 postblock. The last number in the variable name specifies the specific tailstock device to be called.

Steady Rest

steady_rest_open_code

Mill Turn Job

Outputs the code used to open the stead rest on the machine. The output string is

defined on the active stead rest’s post question: 40x01

 

API:

string MILLTURN_GetSteadRestOpenCode()

 

steady_rest_close_code

Mill Turn Job

Outputs the code used to close the stead rest on the machine. The output string

is defined on the active stead rest’s post question: 40x02

 

API:

string MILLTURN_GetSteadRestCloseCode()



steady_rest_open_code_1 through

steady_rest_open_code_10

Mill Turn Job

Outputs the code used to open the stead rest on the machine for a specific stead

rest device. The output string is defined on the defined stead rest’s post question:

 40x01

 

API:

string MILLTURN_GetSteadRestOpenCode1() 

through

string MILLTURN_GetSteadyRestOpenCode10()

 

steady_rest_close_code_1 through

steady_rest_close_code_10

Mill Turn Job

Outputs the code used to close the stead rest on the machine for a specific stead

rest device. The output string is defined on the defined stead rest’s post question:

 40x02

 

API:

string MILLTURN_GetSteadRestCloseCode1() 

through

string MILLTURN_GetSteadyRestCloseCode10()



steady_rest_device_command_block_1_1 through

steady_rest_device_command_block_1_10

Mill Turn Job

This variable will call and process the code that is in the defined steady rest device’s  Command Block 1 postblock. The last number in the variable name specifies the specific steady rest device to be called.

 

steady_rest_device_command_block_2_1 through

steady_rest_device_command_block_2_10

Mill Turn Job

This variable will call and process the code that is in the defined steady rest device’s  Command Block 2 postblock. The last number in the variable name specifies the specific steady rest device to be called.



steady_rest_device_command_block_3_1 through

steady_rest_device_command_block_3_10

Mill Turn Job

This variable will call and process the code that is in the defined steady rest device’s  Command Block 3 postblock. The last number in the variable name specifies the specific steady rest device to be called.

 

steady_rest_device_command_block_4_1 through

steady_rest_device_command_block_4_10

Mill Turn Job

This variable will call and process the code that is in the defined steady rest device’s  Command Block 4 postblock. The last number in the variable name specifies the specific steady rest device to be called.



steady_rest_device_command_block_5_1 through

steady_rest_device_command_block_5_10

Mill Turn Job

This variable will call and process the code that is in the defined steady rest device’s  Command Block 5 postblock. The last number in the variable name specifies the specific steady rest device to be called.

Parts Catcher

parts_catcher_advance_code

Mill Turn Job

Outputs the command from the active parts catcher device to advance the parts catcher on the machine. The output string is defined on each parts catcher device’s post question: 50x01

 

API:

string MILLTURN_GetPartsCatcherAdvanceCode()



parts_catcher_retract_code

Mill Turn Job

Outputs the command from the active parts catcher device to retract the parts catcher

on the machine. The output string is defined on each parts catcher device’s post

question: 50x02

 

API:

string MILLTURN_GetPartsCatcherRetractCode()

 

parts_catcher_advance_code_1 through

parts_catcher_advance_code_10

Mill Turn Job

Outputs the command from the define parts catcher device to advance the parts catcher on the machine. The output string is defined on each parts catcher device’s post question: 50x01

 

API:

string MILLTURN_GetPartsCatcherAdvanceCode_1()

through

string MILLTURN_GetPartsCatcherAdvanceCode_10()



parts_catcher_retract_code_1 through

parts_catcher_retract_code_10

Mill Turn Job

Outputs the command from the define parts catcher device to retract the parts catcher

on the machine. The output string is defined on each parts catcher device’s post

question:  50x02

 

API:

string MILLTURN_GetPartsCatcherRetractCode_1()

through

string MILLTURN_GetPartsCatcherRetractCode_10()

 

parts_catcher_device_command_block_1_1 through

parts_catcher_device_command_block_1_10

Mill Turn Job

This variable will call and process the code that is in the defined parts catcher

device’s  Command Block 1 postblock. The last number in the variable name specifies

the specific parts catcher device to be called.



parts_catcher_device_command_block_2_1 through

parts_catcher_device_command_block_2_10

Mill Turn Job

This variable will call and process the code that is in the defined parts catcher

device’s  Command Block 2 postblock. The last number in the variable name specifies

the specific parts catcher device to be called.

 

parts_catcher_device_command_block_3_1 through

parts_catcher_device_command_block_3_10

Mill Turn Job

This variable will call and process the code that is in the defined parts catcher

device’s  Command Block 3 postblock. The last number in the variable name specifies

the specific parts catcher device to be called.



parts_catcher_device_command_block_4_1 through

parts_catcher_device_command_block_4_10

Mill Turn Job

This variable will call and process the code that is in the defined parts catcher

device’s  Command Block 4 postblock. The last number in the variable name specifies

the specific parts catcher device to be called.

 

parts_catcher_device_command_block_5_1 through

parts_catcher_device_command_block_5_10

Mill Turn Job

This variable will call and process the code that is in the defined parts catcher

device’s  Command Block 5 postblock. The last number in the variable name specifies

the specific parts catcher device to be called.

Workpiece Device

workpiece_device_command_block_1

Mill Turn Job

This variable will call and process the code that is in the active workpiece device’s  Command Block 1 postblock.

 

workpiece_device_command_block_2

Mill Turn Job

This variable will call and process the code that is in the active workpiece device’s  Command Block 2 postblock.



workpiece_device_command_block_3

Mill Turn Job

This variable will call and process the code that is in the active workpiece device’s  Command Block 3 postblock.

 

workpiece_device_command_block_4

Mill Turn Job

This variable will call and process the code that is in the active workpiece device’s  Command Block 4 postblock.



workpiece_device_command_block_5

Mill Turn Job

This variable will call and process the code that is in the active workpiece device’s  Command Block 5 postblock.

 

workpiece_device_command_block_6

Mill Turn Job

This variable will call and process the code that is in the active workpiece device’s  Command Block 6 postblock.

 

workpiece_device_command_block_7

Mill Turn Job

This variable will call and process the code that is in the active workpiece device’s  Command Block 7 postblock.



workpiece_device_command_block_8

Mill Turn Job

This variable will call and process the code that is in the active workpiece device’s  Command Block 8 postblock.

 

workpiece_device_command_block_9

Mill Turn Job

This variable will call and process the code that is in the active workpiece device’s  Command Block 9 postblock.



workpiece_device_command_block_1_1 through

workpiece_device_command_block_1_10

Mill Turn Job

This variable will call and process the code that is in the defined workpiece device’s  Command Block 1 postblock. The last number in the variable name specifies the specific workpiece to be called.

 

workpiece_device_command_block_2_1 through

workpiece_device_command_block_2_10

Mill Turn Job

This variable will call and process the code that is in the defined workpiece device’s  Command Block 2 postblock. The last number in the variable name specifies the specific workpiece to be called.

 

workpiece_device_command_block_3_1 through

workpiece_device_command_block_3_10

Mill Turn Job

This variable will call and process the code that is in the defined workpiece device’s  Command Block 3 postblock. The last number in the variable name specifies the specific workpiece to be called.



workpiece_device_command_block_4_1 through

workpiece_device_command_block_4_10

Mill Turn Job

This variable will call and process the code that is in the defined workpiece device’s  Command Block 4 postblock. The last number in the variable name specifies the specific workpiece to be called.

 

workpiece_device_command_block_5_1 through

workpiece_device_command_block_5_10

Mill Turn Job

This variable will call and process the code that is in the defined workpiece device’s  Command Block 5 postblock. The last number in the variable name specifies the specific workpiece to be called.



workpiece_device_command_block_6_1 through

workpiece_device_command_block_6_10

Mill Turn Job

This variable will call and process the code that is in the defined workpiece device’s  Command Block 6 postblock. The last number in the variable name specifies the specific workpiece to be called.

 

workpiece_device_command_block_7_1 through

workpiece_device_command_block_7_10

Mill Turn Job

This variable will call and process the code that is in the defined workpiece device’s  Command Block 7 postblock. The last number in the variable name specifies the specific workpiece to be called.

 

workpiece_device_command_block_8_1 through

workpiece_device_command_block_8_10

Mill Turn Job

This variable will call and process the code that is in the defined workpiece device’s  Command Block 8 postblock. The last number in the variable name specifies the specific workpiece to be called.



workpiece_device_command_block_9_1 through

workpiece_device_command_block_9_10

Mill Turn Job

This variable will call and process the code that is in the defined workpiece device’s  Command Block 9 postblock. The last number in the variable name specifies the specific workpiece to be called.

 

workpiece_device_rotary_index_forward_code

Mill Turn Job

Outputs the code from the active workpiece device for Rotary Index Forward. String

output is defined in each workpiece on post question: 10x22

 

API:

string MILLTURN_WorkpieceDeviceRotaryIndexForwardCode()



workpiece_device_rotary_index_reverse_code

Mill Turn Job

Outputs the code from the active workpiece device for Rotary Index Reverse. String

output is defined in each workpiece on post question: 10x23

 

API:

string MILLTURN_WorkpieceDeviceRotaryIndexReverseCode()

 

workpiece_device_enable

Mill Turn Job

Outputs the enable code from the active workpiece device. The string output is defined in each workpiece on post question:10x00

 

API:

string MILLTURN_GetWorkpieceDeviceEnable()

 

workpiece_device_disable

Mill Turn Job

Outputs the disable code from the active workpiece device. The string output is

defined in each workpiece on post question:  10x01

 

API:

string MILLTURN_GetWorkpieceDeviceDisable()



Workpiece Device ID – API Only

Mill Turn Job

Used to get the ID of the active workpiece device.

 

API:

short MILLTURN_GetWorkpieceDeviceID()

 

chuck_clamp

Mill Turn Job

Outputs the code to make the active workpiece device’s chuck clamp onto the workpiece on the machine. The output string is defined on the active workpiece’s post question: 10x34.

 

API:

string MILLTURN_GetChuckClamp()



chuck_unclamp

Mill Turn Job

Outputs the code to make the active workpiece device’s chuck unclamp the workpiece

on the machine. The output string is defined on the active workpiece’s post question:

10x35.

 

API:

string MILLTURN_GetChuckUnclamp()

 

spindle_sync

Mill Turn Job

Outputs the code to enable spindle syncing on the machine. The output string is

defined on the active workpiece’s post question: 10x36.

 

API:

string MILLTURN_GetSpindleSync()

 

spindle_unsync

Mill Turn Job

Outputs the code to disable spindle syncing on the machine. The output string is

defined on the active workpiece’s post question: 10x37.

 

API:

string MILLTURN_GetSpindleUnsync()



c_axis_enable

Mill Turn Job

Outputs the string from the active workpiece’s block to enable the C axis Milling

Mode on the machine. The output string is defined on each workpiece’s post question: 10x18.

 

API:

string MILLTURN_GetCAxisEnable()

 

c_axis_disable

Mill Turn Job

Outputs the string from the active workpiece’s block to disable the C axis Milling

Mode on the machine. The output string is defined on each workpiece’s post question: 10x19.

API:

string MILLTURN_GetCAxisDisable()

Tool Device

tool_device_command_block_1

Mill Turn Job

This variable will call and process the code that is in the active tool device’s  Command

Block 1 postblock.

 

tool_device_command_block_2

Mill Turn Job

This variable will call and process the code that is in the active tool device’s  Command

Block 2 postblock.

 

tool_device_command_block_3

Mill Turn Job

This variable will call and process the code that is in the active tool device’s  Command

Block 3 postblock.



tool_device_command_block_4

Mill Turn Job

This variable will call and process the code that is in the active tool device’s  Command

Block 4 postblock.

 

tool_device_command_block_5

Mill Turn Job

This variable will call and process the code that is in the active tool device’s  Command

Block 5 postblock.



tool_device_command_block_6

Mill Turn Job

This variable will call and process the code that is in the active tool device’s  Command

Block 6 postblock.

 

tool_device_command_block_7

Mill Turn Job

This variable will call and process the code that is in the active tool device’s  Command

Block 7 postblock.

 

tool_device_command_block_8

Mill Turn Job

This variable will call and process the code that is in the active tool device’s  Command

Block 8 postblock.



tool_device_command_block_9

Mill Turn Job

This variable will call and process the code that is in the active tool device’s  Command

Block 9 postblock.

 

tool_device_command_block_1_1 through

tool_device_command_block_1_10

Mill Turn Job

This variable will call and process the code that is in the defined tool device’s  Command Block 1 postblock. The last number in the variable name specifies the specific tool device to be called.



tool_device_command_block_2_1 through

tool_device_command_block_2_10

Mill Turn Job

This variable will call and process the code that is in the defined tool device’s  Command Block 2 postblock. The last number in the variable name specifies the specific tool device to be called.

 

tool_device_command_block_3_1 through

tool_device_command_block_3_10

Mill Turn Job

This variable will call and process the code that is in the defined tool device’s  Command Block 3 postblock. The last number in the variable name specifies the specific tool device to be called.

 

tool_device_command_block_4_1 through

tool_device_command_block_4_10

Mill Turn Job

This variable will call and process the code that is in the defined tool device’s  Command Block 4 postblock. The last number in the variable name specifies the specific tool device to be called.

 

tool_device_command_block_5_1 through

tool_device_command_block_5_10

Mill Turn Job

This variable will call and process the code that is in the defined tool device’s  Command Block 5 postblock. The last number in the variable name specifies the specific tool device to be called.

 

tool_device_command_block_6_1 through

tool_device_command_block_6_10

Mill Turn Job

This variable will call and process the code that is in the defined tool device’s  Command Block 6 postblock. The last number in the variable name specifies the specific tool device to be called.

 

tool_device_command_block_7_1 through

tool_device_command_block_7_10

Mill Turn Job

This variable will call and process the code that is in the defined tool device’s  Command Block 7 postblock. The last number in the variable name specifies the specific tool device to be called.

 

tool_device_command_block_8_1 through

tool_device_command_block_8_10

Mill Turn Job

This variable will call and process the code that is in the defined tool device’s  Command Block 8 postblock. The last number in the variable name specifies the specific tool device to be called.

 

tool_device_command_block_9_1 through

tool_device_command_block_9_10

Mill Turn Job

This variable will call and process the code that is in the defined tool device’s  Command Block 9 postblock. The last number in the variable name specifies the specific tool device to be called.

 

tool_device_rotary_index_forward_code

Mill Turn Job

Outputs the code to index in the forward direction on the machine. The output string

is defined on each tool device’s post question: 20x18

 

API:

string MILLTURN_GetToolDeviceRotaryIndexForwardCode()

 

tool_device_rotary_index_reverse_code

Mill Turn Job

Outputs the code to index in the reverse direction on the machine. The output string

is defined on each tool device’s post question: 20x19

 

API:

string MILLTURN_GetToolDeviceRotaryIndexReverseCode()

 

tool_device_enable

Mill Turn Job

Outputs the code to enable the active tool device. The output string is defined

on each tool device’s post question: 20x00

 

API:

string MILLTURN_GetToolDeviceEnable()

 

tool_device_disable

Mill Turn Job

Outputs the code to disable the active tool device. The output string is defined

on each tool device’s post question: 20x01

 

API:

string MILLTURN_GetToolDeviceDisable()

 

Tool Device ID – API Only

Mill Turn Job

Used to get the ID of the active tool device.

 

API:

short MILLTURN_GetToolDeviceID()

 

spindle_orient_code

Mill Turn Job

Outputs the string from the active tool device to activate the spindle orientation

on the machine. The output string is defined on each tool device’s post block:

20x05.

 

API:

string MILLTURN_GetSpindleOrientCode()

 

spindle_orient_position

Mill Turn Job

Outputs the position of the spindle orientation with prefix for the active tool device.

The value will come from the Tool Angle Control dialog found in each turning operation. The prefix is defined on each tool device’s post question: 20x06

 

API:

string MILLTURN_GetSpindleOrientPosition()

 

spindle_orient_position_no_prefix

Mill Turn Job

Outputs the position of the spindle orientation with NO prefix for the active tool

device. The value will come from the Tool Angle Control dialog found in each turning

operation. 

Zone

zone_device_enable

Mill Turn Job

Outputs the command to enable a workzone on the machine. The output string is defined for each zone post block and the active zone determines the output. The zone 1 enable block is defined on post question:  6011.

 

API:

string MILLTURN_GetZoneDeviceEnable()

 

zone_device_disable

Mill Turn Job

Outputs the command to disable a workzone on the machine. The output string is defined for each zone post block and the active zone determines the output. The zone 1 disable block is defined on post question: 6012.

 

API:

string MILLTURN_GetZoneDeviceDisable()

 

zone_device_enable_1 through

zone_device_enable_100

Mill Turn Job

Outputs the command to enable a specific workzone on the machine. The output string is defined for each zone post block and the specified zone determines the output. The zone 1 enable block is defined on post question: 6011. The number at the end of the variable name defines the specific zone to output.

 

API:

string MILLTURN_GetZoneDeviceEnableOfDevice(int)

 

zone_device_disable_1 through

zone_device_disable_100

Mill Turn Job

Outputs the command to disable a specific workzone on the machine. The output string is defined for each zone post block and the specified zone determines the output. The zone 1 disable block is defined on post question: 6012. The number at the end of the variable name defines the specific zone to output.

 

API:

string MILLTURN_GetZoneDeviceDisableOfDevice(int)

 

zone_command_block_1

Mill Turn Job

This variable will call and process the code that is found in the active Zone’s Command

Block 1 postblock.

 

zone_command_block_2

Mill Turn Job

This variable will call and process the code that is found in the active Zone’s Command

Block 2 postblock.

 

zone_command_block_3

Mill Turn Job

This variable will call and process the code that is found in the active Zone’s Command

Block 3 postblock.

 

zone_command_block_4

Mill Turn Job

This variable will call and process the code that is found in the active Zone’s Command

Block 4 postblock.

 

zone_command_block_5

Mill Turn Job

This variable will call and process the code that is found in the active Zone’s Command

Block 5 postblock.

 

zone_command_block_1_1 through

zone_command_block_1_99

Mill Turn Job

This variable will call and process the code that is in the defined Zone’s Command

Block 1 postblock. The last number in the variable name specifies the specific zone

to be called.

 

zone_command_block_2_1 through

zone_command_block_2_99

Mill Turn Job

This variable will call and process the code that is in the defined Zone’s Command

Block 2 postblock. The last number in the variable name specifies the specific zone

to be called.

 

zone_command_block_3_1 through

zone_command_block_3_99

Mill Turn Job

This variable will call and process the code that is in the defined Zone’s Command

Block 3 postblock. The last number in the variable name specifies the specific zone

to be called.

 

zone_command_block_4_1 through

zone_command_block_4_99

Mill Turn Job

This variable will call and process the code that is in the defined Zone’s Command

Block 4 postblock. The last number in the variable name specifies the specific zone

to be called.

 

zone_command_block_5_1 through

zone_command_block_5_99

Mill Turn Job

This variable will call and process the code that is in the defined Zone’s Command

Block 5 postblock. The last number in the variable name specifies the specific zone

to be called.

 

Zone ID – API Only

Mill Turn Job

Used to get the ID of the active work zone.

 

API:

short MILLTURN_GetZoneID()

Syncing Codes

sync_code_out

Mill Turn Job

This variable is used to output the system generated syncing code.

The output is dependent on the setting of post question: 3603

The prefix of output sync codes is defined on post question: 3600

The sync code starting number is defined on post question: 3601

The sync code increment value is defined on post question: 3602

 

sync_code_out_no_prefix

Mill Turn Job

This variable is used to output the system generated syncing code with NO prefix.

The output is dependent on the setting of post question: 3603

The sync code starting number is defined on post question: 3601

The sync code increment value is defined on post question: 3602

 

sync_section_code_out

Mill Turn Job

This variable is used to output the section starting code used to define the beginning of a section for syncing. The output string is defined in the tool device block 20x32.

NCEditor Header Line

comment_start,"JOBSETUP[",prog_name_no_ext_no_path,force_no_add_spaces,".mwjs]JOBSETUP",comment_end

Mill Job

This is the standard format recommended for adding the job setup information needed

by the NCEditor at the beginning of the post processor.

Mill Turn Job

Predator Header Variables

ltool_home

Lathe Job

Outputs the lathe tool home number needed for the predator header. The string prefix comes from post question: 1843

Mill Turn Job

 

ltool_type

Lathe Job

Outputs the lathe tool type with no prefix.

Mill Turn Job

 

ltool_cutting_angle

Lathe Job

Outputs the lathe tool cutting angle with NO prefix.

Mill Turn Job

 

ltool_ic

Lathe Job

Outputs the tool IC in decimal format with NO prefix. 

Mill Turn Job

 

ltool_angle

Lathe Job

Outputs the tool angle with NO prefix.

Mill Turn Job

 

ltool_corner_rad

Lathe Job

Outputs the tool corner radius value in decimal format with NO prefix.

Mill Turn Job

 

ltool_height

Lathe Job

Outputs the tool height in decimal format with NO prefix.

Mill Turn Job

 

ltool_diam

Lathe Job

Outputs the tool diameter in decimal format with NO prefix.

Mill Turn Job

 

ltool_orientation

Lathe Job

Outputs the tool orientation number with NO prefix.

Mill Turn Job

 

z_end_of_stock

Lathe Job

Outputs the end coordinate for lathe stock in decimal format with NO prefix.

Mill Turn Job

 

stock_diameter

Lathe Job

Outputs the diameter(x axis) of the stock in decimal format with NO prefix.

Mill Turn Job

 

stock_length

Lathe Job

Outputs the length of the stock(z axis) in decimal format with NO prefix.

Mill Turn Job

 

stock_internal_diameter

Lathe Job

Outputs the ID of the stock in decimal format with NO prefix.

Mill Turn Job

Misc Codes

g_offset_value_set

Mill Turn Job

Outputs the string used to put the machine in offset value set mode. The string

output is defined on post question:  3564

 

API:

string MILLTURN_GetOffsetValueSet()

 

g_offset_value_set_cancel

Mill Turn Job

Outputs the string used to cancel the machine offset value set mode. The string

output is defined on post question: 3565

 

API:

string MILLTURN_GetOffsetValueSetCancel()

 

machine_coordinate_code

Mill Turn Job

Outputs the code that is used to switch the machine to Machine Coordinates. The

output string is defined on post question: 652

 

 Commonly set to G53

 

API:

string MILLTURN_GetMachineCoordinateCode()

 

zero_set

Mill Turn Job

Outputs the code that is used to set coordinate system within the program. The output string is defined on post question: 622

 

 

Commonly set to G92

 

machine_home_code

Mill Turn Job

Outputs the code that is used to switch the machine to coordinates relative to the

home position. The output string is defined on post question: 653

 

Commonly set to G28

 

API:

string MILLTURN_GetMachineCoordinateCode()

 

optional_rotary_rewind

Mill Turn Job

This command variable controls when the rotary rewind block 111 will be called in

posting. The following logic is used for the output of this command variable:

  • Lathe Operation – Don’t Output
  • Mill Operation and post question: 445 = Y then output
  • Mill Operation and post question: 445 = N then don’t output  

 

GetDoubleOfPostVariable("tapthread_majordiam")

Mill Job

Outputs the major Diameter value of the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()

 

NOTE -  This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function

Lathe Job

Mill Turn Job

 

GetDoubleOfPostVariable("tapthread_minordiam")

Mill Job

Outputs the minor Diameter value of the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()

 

NOTE -  This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function

Lathe Job

Mill Turn Job

 

GetDoubleOfPostVariable("tapthread_pitch")

Mill Job

Outputs the pitch value of the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()

 

NOTE -  This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function

Lathe Job

Mill Turn Job

 

GetDoubleOfPostVariable("tapthread_threadangle")

Mill Job

Outputs the thread angle value of the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()

 

NOTE -  This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function

Lathe Job

Mill Turn Job

 

GetDoubleOfPostVariable("tapthread_taperangle")

Mill Job

Outputs the taper angle value of the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()

 

NOTE -  This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function

Lathe Job

Mill Turn Job

 

GetDoubleOfPostVariable("tapthread_cuttingholesize")

Mill Job

Outputs the cutting hole size value for the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()

 

NOTE -  This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function

Lathe Job

Mill Turn Job

 

GetDoubleOfPostVariable("tapthread_rollingholesize")

Mill Job

Outputs the rolling hole size value for the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()

 

NOTE -  This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function

Lathe Job

Mill Turn Job

Probing Cycle Variables - Cycle Definitions

General

macro_call

Mill Job

This variable will output the string defined on post question: 4200  used for calling a macro.

 

Example String Values are:

  • Fanuc - G65
  • Haas - G65
  • Mazak - G65
  • Siemens - L9800  NOTE: Siemens does not have a specific call command.
  • Okuma - "CALL"

 

probe_on

Mill Job

This variable will output the string defined on post question: 4201 used for turning on the probe on the machine tool.

 

Example String Values are:

  • Fanuc - P9832
  • Haas - P9832
  • Mazak - P9809
  • Siemens - L9832
  • Okuma - O9832

 

probe_off

Mill Job

This variable will output the string defined on post question: 4202  used for turning off the probe on the machine tool.

 

Example String Values are:

  • Fanuc - P9833
  • Haas - P9833
  • Mazak -
  • Siemens - L9833
  • Okuma - O9833

 

probe_protected

Mill Job

This variable will output the string defined on post question: 4203 used for defining the code for moving the probe with the protection mode turned on.

 

Example String Values are:

  • Fanuc - P9810
  • Haas - P9810
  • Mazak - P9810
  • Siemens - L9810
  • Okuma - O9810

 

probe_raw_text

Mill Job

Outputs the string entered in the Raw Text tab of the measure, contact tool setter, non-contact tool setter operations. This is typically used in the end of the operation block to output any additional code at the end of the probing cycle.

Measure Cycles

probe_x_single

Mill Job

This variable will output the string defined on post question: 4204 used for defining the cycle code for X axis single surface cycle.

 

Example String Values are:

  • Fanuc - P9811
  • Haas - P9811
  • Mazak - P9811
  • Siemens - L9811
  • Okuma - O9811

 

probe_y_single

Mill Job

This variable will output the string defined on post question: 4205 used for defining the cycle code for Y axis single surface cycle.

 

Example String Values are:

  • Fanuc - P9811
  • Haas - P9811
  • Mazak - P9811
  • Siemens - L9811
  • Okuma - O9811

 

probe_z_single

Mill Job

This variable will output the string defined on post question: 4206 used for defining the cycle code for Z axis single surface cycle.

 

Example String Values are:

  • Fanuc - P9811
  • Haas - P9811
  • Mazak - P9811
  • Siemens - L9811
  • Okuma - O9811

 

probe_web

Mill Job

This variable will output the string defined on post question: 4207 used for defining the code for a web probing cycle.

 

Example String Values are:

  • Fanuc - P9812
  • Haas - P9812
  • Mazak - P9812
  • Siemens - L9812
  • Okuma - O9812

 

probe_pocket

Mill Job

This variable will output the string defined on post question: 4208 used for defining the code for a pocket probing cycle.

 

Example String Values are:

  • Fanuc - P9812
  • Haas - P9812
  • Mazak - P9812
  • Siemens - L9812
  • Okuma - O9812

 

probe_boss_4

Mill Job

This variable will output the string defined on post question: 4209 used for defining the code for a Boss probing cycle, using a 4 point method.

 

Example String Values are:

  • Fanuc - P9814
  • Haas - P9814
  • Mazak - P9814
  • Siemens - L9814
  • Okuma - O9814

 

probe_bore_4

Mill Job

This variable will output the string defined on post question: 4210 used for defining the code for a Bore probing cycle, using a 4 point method.

 

Example String Values are:

  • Fanuc - P9814
  • Haas - P9814
  • Mazak - P9814
  • Siemens - L9814
  • Okuma - O9814

 

probe_boss_3

Mill Job

This variable will output the string defined on post question: 4211 used for defining the code for a Boss probing cycle, using a 3 point method.

 

Example String Values are:

  • Fanuc - P9823
  • Haas - P9823
  • Mazak - P9823
  • Siemens - L9823
  • Okuma - O9823

 

probe_bore_3

Mill Job

This variable will output the string defined on post question: 4212 used for defining the code for a Bore probing cycle, using a 3 point method.

 

Example String Values are:

  • Fanuc - P9823
  • Haas - P9823
  • Mazak - P9823
  • Siemens - L9823
  • Okuma - O9823

 

probe_int_corner

Mill Job

This variable will output the string defined on post question: 4213 used for defining the code for an internal corner  probing cycle.

 

Example String Values are:

  • Fanuc - P9815
  • Haas - P9815
  • Mazak - P9815
  • Siemens - L9815
  • Okuma - O9815

 

probe_ext_corner

Mill Job

This variable will output the string defined on post question: 4214 used for defining the code for an external corner  probing cycle.

 

Example String Values are:

  • Fanuc - P9816
  • Haas - P9816
  • Mazak - P9816
  • Siemens - L9816
  • Okuma - O9816

 

probe_ext_5rect

Mill Job

This variable will output the string defined on post question: 4215 used for defining the code for an external rectangle probing cycle using a 5 point method.

 

Example String Values are:

  • Fanuc - P9817
  • Haas - N/A
  • Mazak - N/A
  • Siemens - N/A
  • Okuma - N/A

 

probe_int_5rect

Mill Job

This variable will output the string defined on post question: 4216 used for defining the code for an internal rectangle probing cycle using a 5 point method.

 

Example String Values are:

  • Fanuc - P9817
  • Haas - N/A
  • Mazak - N/A
  • Siemens - N/A
  • Okuma - N/A

 

probe_line

Mill Job

This variable will output the string defined on post question: 4217 used for defining the code for line probing cycle.

 

Example String Values are:

  • Fanuc - P9821
  • Haas - P9821
  • Mazak - P9821
  • Siemens - L9821
  • Okuma - O9821

 

probe_surface

Mill Job

This variable will output the string defined on post question: 4218 used for defining the code for a surface probing cycle.

 

Example String Values are:

  • Fanuc - P9821
  • Haas - N/A
  • Mazak - N/A
  • Siemens - N/A
  • Okuma - N/A

 

probe_angled_web

Mill Job

This variable will output the string defined on post question: 4219 used for defining the code for web probing cycle where the web is on an angle and not aligned with an axis.

 

Example String Values are:

  • Fanuc - P9822
  • Haas - P9822
  • Mazak - P9822
  • Siemens - L9822
  • Okuma - O9822

 

probe_angled_pocket

Mill Job

This variable will output the string defined on post question: 4220 used for defining the code for pocket probing cycle where the pocket is on an angle and not aligned with an axis.

 

Example String Values are:

  • Fanuc - P9822
  • Haas - P9822
  • Mazak - P9822
  • Siemens - L9822
  • Okuma - O9822

 

probe_4th_axis

Mill Job

This variable will output the string defined on post question: 4221 used for defining the code for probing on a 4th axis

 

Example String Values are:

  • Fanuc - P9818
  • Haas - P9817
  • Mazak - P9817
  • Siemens - L9817
  • Okuma - O9817

 

probe_4th_axis_2

Mill Job

This variable will output the string defined on post question: 4222. used for defining the code for probing on a 4th axis

 

Example String Values are:

  • Fanuc - N/A
  • Haas - P9818
  • Mazak - P9818
  • Siemens - L9818
  • Okuma - O9818

 

probe_boss_pcd

Mill Job

This variable will output the string defined on post question: 4223. used for defining the code for a Pitch Circle Diameter Boss type probing cycle.

 

Example String Values are:

  • Fanuc - P9819
  • Haas - P9819
  • Mazak - P9819
  • Siemens - L9819
  • Okuma - O9819

 

probe_bore_pcd

Mill Job

This variable will output the string defined on post question: 4224. used for defining the code for a Pitch Circle Diameter Bore type probing cycle.

 

Example String Values are:

  • Fanuc - P9819
  • Haas - P9819
  • Mazak - P9819
  • Siemens - L9819
  • Okuma - O9819

 

probe_angled_surf

Mill Job

This variable will output the string defined on post question: 4225. used for defining the code for a surface probing cycle where the surfaces is on an angle.

 

Example String Values are:

  • Fanuc - P9843
  • Haas - P9843
  • Mazak - P9843
  • Siemens - L9843
  • Okuma - O9843

Probing measure cycle parameters

x_pos

Mill Job

This variable will output the string defined on post question: 4250. used for defining the prefix for the X axis position moves when probing.

 

Example String Values are:

  • Fanuc - X
  • Haas - X
  • Mazak - X
  • Siemens - R24=
  • Okuma - PX=

 

y_pos

Mill Job

This variable will output the string defined on post question: 4251. used for defining the prefix for the Y axis position moves when probing.

 

Example String Values are:

  • Fanuc - Y
  • Haas - Y
  • Mazak - Y
  • Siemens - R25=
  • Okuma - PY=

 

z_pos

Mill Job

This variable will output the string defined on post question: 4252. used for defining the prefix for the Z axis position moves when probing.

 

Example String Values are:

  • Fanuc - Z
  • Haas - Z
  • Mazak - Z
  • Siemens - R26=
  • Okuma - PZ=

 

probe_b_dia

Mill Job

This variable will output the string defined on post question: 4253. used for defining the prefix for the bore and boss diameter parameter when probing.

 

Used In:

  • Boss
  • Bore
  • 4 Points

 

Example String Values are:

  • Fanuc - D
  • Haas - D
  • Mazak - D
  • Siemens - R7=
  • Okuma - PD=

 

probe_angle

Mill Job

This variable will output the string defined on post question: 4254. used for defining the prefix for the angle parameter when probing.

 

Used In:

  • Line
  • Angled Web
  • Angled Pocket
  • Boss PCD
  • Bore PCD
  • Angle Measure in X Plane
  • Angle Measure in Y Plane

 

Example String Values are:

  • Fanuc - A
  • Haas - A
  • Mazak - A
  • Siemens - R1=
  • Okuma - PA=

 

probe_angle1

Mill Job

This variable will output the string defined on post question: 4255. used for defining the prefix for the angle parameter when probing.

 

Used In:

  • Boss 3 Points
  • Bore 3 Points

 

Example String Values are:

  • Fanuc - A
  • Haas - A
  • Mazak - A
  • Siemens - R1=
  • Okuma - PA=

 

probe_angle2

Mill Job

This variable will output the string defined on post question: 4256. used for defining the prefix for the angle parameter when probing.

 

Used In:

  • Boss 3 Points
  • Bore 3 Points

 

Example String Values are:

  • Fanuc - B
  • Haas - B
  • Mazak - B
  • Siemens - R2=
  • Okuma - PB=

 

probe_angle3

Mill Job

This variable will output the string defined on post question: 4257. used for defining the prefix for the angle parameter when probing.

 

Used In:

  • Boss 3 Points
  • Bore 3 Points

 

Example String Values are:

  • Fanuc - C
  • Haas - C
  • Mazak - C
  • Siemens - R3=
  • Okuma - PC=

 

probe_dist

Mill Job

This variable will output the string defined on post question: 4258. used for defining the prefix for the distance parameter when probing.

 

Used In:

  • Line
  • Angled Web
  • Angled Pocket
  • Angle Measure in X
  • Angle Measure in Y

 

Example String Values are:

  • Fanuc - D
  • Haas - D
  • Mazak - D
  • Siemens - R7=
  • Okuma - PD=

 

probe_x_dist

Mill Job

This variable will output the string defined on post question: 4259. used for defining the prefix for the X distance parameter when corner probing.

 

Used In:

  • Internal Corner
  • External Corner

 

Example String Values are:

  • Fanuc - D
  • Haas - D
  • Mazak - D
  • Siemens - ??
  • Okuma - PD=

 

probe_y_dist

Mill Job

This variable will output the string defined on post question: 4260. used for defining the prefix for the Y distance parameter when corner probing.

 

Used In:

  • Internal Corner
  • External Corner

 

Example String Values are:

  • Fanuc - E
  • Haas - E
  • Mazak - E
  • Siemens - ??
  • Okuma - PE=

 

probe_x_dist2

Mill Job

This variable will output the string defined on post question: 4261. used for defining the prefix for the second X distance parameter when corner probing.

 

Used In:

  • Internal Corner
  • External Corner

 

Example String Values are:

  • Fanuc - I
  • Haas - I
  • Mazak - I
  • Siemens - ??
  • Okuma - PI=

 

probe_y_dist2

Mill Job

This variable will output the string defined on post question: 4262. used for defining the prefix for the second Y distance parameter when corner probing.

 

Used In:

  • Internal Corner
  • External Corner

 

Example String Values are:

  • Fanuc - J
  • Haas - J
  • Mazak - J
  • Siemens - ??
  • Okuma - PJ=

 

x_dist

Mill Job

This variable will output the string defined on post question: 4263. used for defining the prefix for the X distance parameter in 4th axis probing.

 

Used In:

  • 4th Axis

 

Example String Values are:

  • Fanuc - X
  • Haas - X
  • Mazak - X
  • Siemens - R24=
  • Okuma - PX=

 

y_dist

Mill Job

This variable will output the string defined on post question: 4264. used for defining the prefix for the Y distance parameter in 4th axis probing.

 

Used In:

  • 4th Axis

 

Example String Values are:

  • Fanuc - Y
  • Haas - Y
  • Mazak - Y
  • Siemens - R25=
  • Okuma - PY=

 

x_length

Mill Job

This variable will output the string defined on post question: 4265. used for defining the prefix for the X length in rectangle probing.

 

Used In:

  • Internal 5 Point Rectangle
  • External 5 Point Rectangle

 

Example String Values are:

  • Fanuc - D
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

y_length

Mill Job

This variable will output the string defined on post question: 4266. used for defining the prefix for the Y length in rectangle probing.

 

Used In:

  • Internal 5 Point Rectangle
  • External 5 Point Rectangle

 

Example String Values are:

  • Fanuc - E
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

z_pos_k

Mill Job

This variable will output the string defined on post question: 4267. used for defining the prefix for the Z measure position parameter in a Pitch Circle Diameter Bore cycle.

 

Used In:

  • Bore Pitch Circle Diameter

 

Example String Values are:

  • Fanuc - K
  • Haas - K
  • Mazak - K
  • Siemens - R6=
  • Okuma - PK=

 

5rect_face

Mill Job

This variable will output the string defined on post question: 4268. used for defining the prefix for the face for 2 measurements parameter in the rectangle probing cycle.

 

Used In:

  • 5 Point Rectangle

 

Example String Values are:

  • Fanuc - A      (Permissible values: A11, A12, A13, A14)
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

5rect_p2_p4_pos

Mill Job

This variable will output the string defined on post question: 4269. used for defining the prefix for the P2 & P4 measure position parameters in the rectangle probing cycle.

 

Used In:

  • 5 Point Rectangle

 

Example String Values are:

  • Fanuc - H
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

5rect_dist

Mill Job

This variable will output the string defined on post question: 4270. used for defining the prefix for the distance between 2 points in the rectangle probing cycle.

 

Used In:

  • 5 Point Rectangle

 

Example String Values are:

  • Fanuc - T
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

5rect_p1_p3_pos

Mill Job

This variable will output the string defined on post question: 4271. used for defining the second distance parameter in rectangle probing cycle.

 

Used In:

  • 5 Point Rectangle

 

Example String Values are:

  • Fanuc - V
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_surf_output

Mill Job

This variable will output the string defined on post question: 4272. used for defining the probe surface output parameter.

 

Used In:

  • Probe Surface

 

Example String Values are:

  • Fanuc - C  (Permissible Values: C0, C1, C2)
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_rotary

Mill Job

This variable will output the string defined on post question: 4273. used for defining the 4th axis probing type parameter.

 

Used In:

  • 4th Axis Cycle

 

Example String Values are:

  • Fanuc - K  (Permissible Values: K1, K2, K3, K4)
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_pcd

Mill Job

This variable will output the string defined on post question: 4274. used for defining the pitch circle diameter parameter in PCD cycles.

 

Used In:

  • Boss Pitch Circle Diameter
  • Bore Pitch Circle Diameter

 

Example String Values are:

  • Fanuc - C
  • Haas - C
  • Mazak - C
  • Siemens - R3=
  • Okuma - PC=

 

probe_num_features

Mill Job

This variable will output the string defined on post question: 4275. used for defining the number of features in PCD cycles.

 

Used In:

  • Boss Pitch Circle Diameter
  • Bore Pitch Circle Diameter

 

Example String Values are:

  • Fanuc - B
  • Haas - B
  • Mazak - B
  • Siemens - R2=
  • Okuma - PB=

Optional Parameters

probe_angle_tol

Mill Job

This variable will output the string defined on post question: 4276. used for defining the angle tolerance parameter in probing cycles.

 

Used In:

  • Angle Tolerance

 

Example String Values are:

  • Fanuc - B
  • Haas - B
  • Mazak - B
  • Siemens - R2=
  • Okuma - PB=

 

probe_experience

Mill Job

This variable will output the string defined on post question: 4277. used for defining the probe experience value parameter in probing cycles.

 

Used In:

  • Experience Value (Used from the tool offset table to be applied to measured size)

 

Example String Values are:

  • Fanuc - E
  • Haas - E
  • Mazak - E
  • Siemens - R8=
  • Okuma - PE=

 

probe_feedback

Mill Job

This variable will output the string defined on post question: 4278. used for defining the probe feedback parameter in probing cycles.

 

  •    Value from 0 to 1 (0% to 100%)

 

Example String Values are:

  • Fanuc - F
  • Haas - F
  • Mazak - F
  • Siemens - R9=
  • Okuma - PF=

 

probe_feature_tol

Mill Job

This variable will output the string defined on post question: 4279. used for defining the tolerance value of feature dimensioning in probing cycle.

 

 

Example String Values are:

  • Fanuc - H
  • Haas - H
  • Mazak - H
  • Siemens - R11=
  • Okuma - PH=

 

probe_true_tol

Mill Job

This variable will output the string defined on post question: 4280. used for defining the true position tolerance of a feature in probing cycle.

 

 

Example String Values are:

  • Fanuc - M
  • Haas - M
  • Mazak - M
  • Siemens - R13=
  • Okuma - PM=

 

probe_overtravel

Mill Job

This variable will output the string defined on post question: 4281. used for defining the probe overtravel distance in probing. (Default when excluded is 4mm in Z axis, and 10mm in X/Y axes.

 

 

Example String Values are:

  • Fanuc - Q
  • Haas - Q
  • Mazak - Q
  • Siemens - R17=
  • Okuma - PQ=

 

probe_inc_distance

Mill Job

This variable will output the string defined on post question: 4282. used for defining the incremental distance for external features prior to Z moves. Default distance is 5mm.

 

 

Example String Values are:

  • Fanuc - R
  • Haas - R
  • Mazak - R
  • Siemens - R18=
  • Okuma - PR=

 

probe_work_offset

Mill Job

This variable will output the string defined on post question: 4283. used for defining the work offset that is to be updated (S1-S6 for G54-G59, S101-S400 for additional offsets.

 

 

Example String Values are:

  • Fanuc - S
  • Haas - S
  • Mazak - S
  • Siemens - R19=
  • Okuma - PS=

 

probe_tool_offset

Mill Job

This variable will output the string defined on post question: 4284. used for defining the tool offset that is to be updated.

 

 

Example String Values are:

  • Fanuc - I
  • Haas - I
  • Mazak - I
  • Siemens - R20=
  • Okuma - PI=

 

probe_upper_tol

Mill Job

This variable will output the string defined on post question: 4285. used for defining the upper tolerance limit used in tool setting.

 

 

Example String Values are:

  • Fanuc - U
  • Haas - U
  • Mazak - U
  • Siemens - R21=
  • Okuma - PU=

 

probe_null_band

Mill Job

This variable will output the string defined on post question: 4286. used for defining the null band  used in tool setting. (Tolerance limit for adjusting tool offset)

 

 

Example String Values are:

  • Fanuc - V
  • Haas - V
  • Mazak - V
  • Siemens - R22=
  • Okuma - PV=

 

probe_print

Mill Job

This variable will output the string defined on post question: 4287. used for printing the output data (W1 or W2)

 

 

Example String Values are:

  • Fanuc - W
  • Haas - W
  • Mazak - W
  • Siemens - R23=
  • Okuma - PW=

 

probe_print_open

Mill Job

This variable will output the string defined on post question:4288. used for opening the print port on the machine.

 

 

Example String Values are:

  • W1

 

NOTES:

Fanuc and Mazak need to open and close the port with the probe on/off command before any cycles that use print. Siemens, Okuma, and Haas do not need the extra parameter as they do this automatically.

 

The way the probe_print_open and probe_print_close variables work:   The probe_print_open will open the port for the first cycle that uses print in the program, and the probe_print_close will close the port after the last probe cycle using print in the program.

 

These variables are intended to be used in the 4000. Probe On and 4001. Probe Off postblocks.

 

probe_print_close

Mill Job

This variable will output the string defined on post question: 4289. used for closing the print port on the machine.

 

 

Example String Values are:

  • W1

 

NOTES:

Fanuc and Mazak need to open and close the port with the probe on/off command before any cycles that use print. Siemens, Okuma, and Haas do not need the extra parameter as they do this automatically.

 

The way the probe_print_open and probe_print_close variables work:   The probe_print_open will open the port for the first cycle that uses print in the program, and the probe_print_close will close the port after the last probe cycle using print in the program.

 

These variables are intended to be used in the 4000. Probe On and 4001. Probe Off postblocks.

Contact Tool Setter Cycle Variables

probe_cts_auto_length

Mill Job

This variable will output the string defined on post question: 4400. used for defining the automatic tool length cycle.

 

 

Example String Values are:

  • Fanuc - P9857
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_auto_diameter

Mill Job

This variable will output the string defined on post question: 4401. used for defining the automatic tool diameter cycle.

 

 

Example String Values are:

  • Fanuc - P9857
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_auto_length_diam

Mill Job

This variable will output the string defined on post question: 4402. used for defining the automatic tool length and diameter cycle.

 

 

Example String Values are:

  • Fanuc - P9857
  • Haas - ??
  • Mazak - ??
  • Siemens - L9857
  • Okuma - ??

 

probe_cts_auto_length_up

Mill Job

This variable will output the string defined on post question: 4403. used for defining the automatic tool length up cycle.

 

 

Example String Values are:

  • Fanuc - P9857
  • Haas - ??
  • Mazak - ??
  • Siemens - L9857
  • Okuma - ??

 

probe_cts_broken_tool

Mill Job

This variable will output the string defined on post question: 4404. used for defining the broken tool detection cycle.

 

 

Example String Values are:

  • Fanuc - P9858
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_manual_length

Mill Job

This variable will output the string defined on post question: 4405. used for defining the manual length cycle.

 

 

Example String Values are:

  • Fanuc - P9856
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_manual_diam

Mill Job

This variable will output the string defined on post question: 4406. used for defining the manual diameter cycle.

 

 

Example String Values are:

  • Fanuc - P9852
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_thermal_comp

Mill Job

This variable will output the string defined on post question: 4407. used for defining the thermal compensation cycle.

 

 

Example String Values are:

  • Fanuc - P9859
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

Contact Tool Setter Cycle Parameter Variables

probe_cts_tool_type

Mill Job

This variable will output the string defined on post question: 4420. used for defining the measurement type in a CTS cycle.

 

 

Example String Values are:

  • Fanuc - B
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_tool_diameter

Mill Job

This variable will output the string defined on post question: 4421. used for defining the tool diameter in a CTS cycle. NOTE: This forces the rotation of the tool on some machines.

 

 

Example String Values are:

  • Fanuc - D
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_tool_tol

Mill Job

This variable will output the string defined on post question: 4422. used for defining the tool length tolerance value in CTS cycles.

 

 

Example String Values are:

  • Fanuc - H
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_length_exper

Mill Job

This variable will output the string defined on post question: 4423. used for defining the length experience  value in CTS cycles.

 

 

Example String Values are:

  • Fanuc - K
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_broken

Mill Job

This variable will output the string defined on post question: 4424. used for defining the tool out of tolerance  value in CTS cycles.

 

 

Example String Values are:

  • Fanuc - M
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_overtravel

Mill Job

This variable will output the string defined on post question: 4425. used for defining the overtravel parameter value in CTS cycles.

 

 

Example String Values are:

  • Fanuc - Q
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_tool_offset

Mill Job

This variable will output the string defined on post question: 4426. used for defining the tool offset parameter value in CTS cycles.

 

 

Example String Values are:

  • Fanuc - T
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_tool_length

Mill Job

This variable will output the string defined on post question: 4427. used for defining the tool length parameter value in CTS cycles.

 

 

Example String Values are:

  • Fanuc - Y
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_offset_typeA

Mill Job

This variable will output the string defined on post question: 4428. used for defining the tool offset parameter value for Type A offset tables  in CTS cycles.

 

 

Example String Values are:

  • Fanuc - E
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_diam_exper

Mill Job

This variable will output the string defined on post question: 4429. used for defining the diameter experience value in CTS cycles.

 

 

Example String Values are:

  • Fanuc - J
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_z_clearance

Mill Job

This variable will output the string defined on post question: 4430. used for defining the extra z clearance parameter  value in CTS cycles.

 

 

Example String Values are:

  • Fanuc - W
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_z_measure

Mill Job

This variable will output the string defined on post question: 4431. used for defining the Z axis measure position parameter  value in CTS cycles.

 

 

Example String Values are:

  • Fanuc - Z
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_inc_radial

Mill Job

This variable will output the string defined on post question: 4432. used for defining the incremental radial distance  parameter value in the feed up cycle. .

 

 

Example String Values are:

  • Fanuc - U
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_rapid_pos

Mill Job

This variable will output the string defined on post question: 4433. used for defining the rapid position parameter in the Broken Tool cycle.

 

 

Example String Values are:

  • Fanuc - Y
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_clearance

Mill Job

This variable will output the string defined on post question: 4434. used for defining the clearance position parameter in the Broken Tool cycle.

 

 

Example String Values are:

  • Fanuc - Y
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_thermal_type

Mill Job

This variable will output the string defined on post question: 4435. used for defining the thermal comp cycle type parameter.

 

 

Example String Values are:

  • Fanuc - C
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_thermal_meaure

Mill Job

This variable will output the string defined on post question: 4436. used for defining the thermal comp measure position parameter.

 

 

Example String Values are:

  • Fanuc - W
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_thermal_x_storage

Mill Job

This variable will output the string defined on post question: 4437. used for defining the thermal compX storage location  parameter.

 

 

Example String Values are:

  • Fanuc - X
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_thermal_y_storage

Mill Job

This variable will output the string defined on post question: 4438. used for defining the thermal comp Y storage location  parameter.

 

 

Example String Values are:

  • Fanuc - Y
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_thermal_z_storage

Mill Job

This variable will output the string defined on post question: 4439. used for defining the thermal compZ storage location  parameter.

 

 

Example String Values are:

  • Fanuc - Z
  • Haas - ??
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

 

probe_cts_overtravel_radial

Mill Job

This variable will output the string defined on post question: 4440. used for defining the overtravel distance and radial clearance.

 

 

Example String Values are:

  • Fanuc - ??
  • Haas - H
  • Mazak - ??
  • Siemens - ??
  • Okuma - ??

Non-Contact Tool Setter Cycle Variables

probe_nts_length

Mill Job

This variable will output the string defined on post question: 4500. used for defining the tool length cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9862
  • Haas - P9862
  • Mazak - P9862
  • Siemens - L9862
  • Okuma - O9862

 

probe_nts_diameter

Mill Job

This variable will output the string defined on post question: 4501. used for defining the tool diameter cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9862
  • Haas - P9862
  • Mazak - P9862
  • Siemens - L9862
  • Okuma - O9862

 

probe_nts_length_diam

Mill Job

This variable will output the string defined on post question: 4502. used for defining the tool length and diameter cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9862
  • Haas - P9862
  • Mazak - P9862
  • Siemens - L9862
  • Okuma - O9862

 

probe_nts_cutting_edge

Mill Job

This variable will output the string defined on post question: 4503. used for defining the cutting edge cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9862
  • Haas - P9862
  • Mazak - P9862
  • Siemens - L9862
  • Okuma - O9862

 

probe_nts_broken_plunge

Mill Job

This variable will output the string defined on post question: 4504. used for defining the broken tool plunge cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9863
  • Haas - P9863
  • Mazak - P9863
  • Siemens - L9863
  • Okuma - O9863

 

probe_nts_broken_solid

Mill Job

This variable will output the string defined on post question: 4505. used for defining the broken tool solid tool cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9866
  • Haas - P9866
  • Mazak - P9866
  • Siemens - L9866
  • Okuma - O9866

 

probe_nts_radius_check

Mill Job

This variable will output the string defined on post question: 4506. used for defining radius profile checking cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9865
  • Haas - P9865
  • Mazak - P9865
  • Siemens - L9865
  • Okuma - O9865

 

probe_nts_linear_check

Mill Job

This variable will output the string defined on post question: 4507. used for defining linear profile checking cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9865
  • Haas - P9865
  • Mazak - P9865
  • Siemens - L9865
  • Okuma - O9865

 

probe_nts_thermal_full

Mill Job

This variable will output the string defined on post question: 4508. used for defining full thermal compensation cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9861
  • Haas - P9861
  • Mazak - P9861
  • Siemens - L9861
  • Okuma - O9861

 

probe_nts_thermal_spindle

Mill Job

This variable will output the string defined on post question: 4509. used for defining spindle thermal compensation cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9861
  • Haas - P9861
  • Mazak - P9861
  • Siemens - L9861
  • Okuma - O9861

 

probe_nts_thermal_radial

Mill Job

This variable will output the string defined on post question: 4510. used for defining radial thermal compensation cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9861
  • Haas - P9861
  • Mazak - P9861
  • Siemens - L9861
  • Okuma - O9861

 

probe_nts_corner_measure

Mill Job

This variable will output the string defined on post question: 4511. used for defining the corner radius measure  cycle for NCTS.

 

 

Example String Values are:

  • Fanuc - P9867
  • Haas - P9867
  • Mazak - P9867
  • Siemens - L9867
  • Okuma - O9867

Non-Contact Tool Setter Cycle Parameter Variables

probe_nts_tool_type

Mill Job

This variable will output the string defined on post question: 4550. used for defining the prefix for the measurement type parameter in NTS cycles.

 

 

Example String Values are:

  • Fanuc - B
  • Haas - B
  • Mazak - B
  • Siemens - R02=
  • Okuma - PB=

 

probe_nts_tool_tol

Mill Job

This variable will output the string defined on post question: 4551. used for defining the prefix for the tool length tolerance parameter in NTS cycles.

 

 

Example String Values are:

  • Fanuc - H
  • Haas - H
  • Mazak - H
  • Siemens - R11=
  • Okuma - PH=

 

probe_nts_length_exper

Mill Job

This variable will output the string defined on post question: 4552. used for defining the prefix for the length experience parameter in NTS cycles.

 

 

Example String Values are:

  • Fanuc - J
  • Haas - J
  • Mazak - J
  • Siemens - R05=
  • Okuma - PJ=

 

probe_nts_broken

Mill Job

This variable will output the string defined on post question: 4553. used for defining the prefix for the out of tolerance parameter in broken NTS cycles.

 

 

Example String Values are:

  • Fanuc - M
  • Haas - M
  • Mazak - M
  • Siemens - R13=
  • Okuma - PM=

 

probe_nts_overtravel

Mill Job

This variable will output the string defined on post question: 4554. used for defining the prefix for the overtravel  parameter in NTS cycles.

 

 

Example String Values are:

  • Fanuc - Q
  • Haas - Q
  • Mazak - Q
  • Siemens - R17=
  • Okuma - PQ=

 

probe_nts_spindle_speed

Mill Job

This variable will output the string defined on post question: 4555. used for defining the prefix for the spindle speed parameter in NTS cycles.

 

 

Example String Values are:

  • Fanuc - S
  • Haas - S
  • Mazak - S
  • Siemens - R19=
  • Okuma - PS=

 

probe_nts_tool_offset

Mill Job

This variable will output the string defined on post question: 4556. used for defining the prefix for the tool offset parameter in NTS cycles.

 

 

Example String Values are:

  • Fanuc - T
  • Haas - T
  • Mazak - T
  • Siemens - R14=
  • Okuma - PT=

 

probe_nts_stepover

Mill Job

This variable will output the string defined on post question: 4557. used for defining the prefix for the radial step-over  parameter in NTS cycles.

 

 

Example String Values are:

  • Fanuc - Y
  • Haas - Y
  • Mazak - Y
  • Siemens - R25=
  • Okuma - PY=

 

probe_nts_solid_tool

Mill Job

This variable will output the string defined on post question: 4558. used for defining the prefix for the solid tool  parameter in NTS cycles.

 

 

Example String Values are:

  • Fanuc - A
  • Haas - A
  • Mazak - A
  • Siemens - R01=
  • Okuma - PA=

 

probe_nts_cutter_edge

Mill Job

This variable will output the string defined on post question: 4559. used for defining the cutter edge parameter in NTS cycles. For when there are parts o f the tool or cutter edge, or when you want to use a slitting saw.

 

 

Example String Values are:

  • Fanuc - W
  • Haas - W
  • Mazak - W
  • Siemens - R23=
  • Okuma - PW=

 

probe_nts_diam_offset

Mill Job

This variable will output the string defined on post question: 4560. used for defining the prefix for the diameter offset number parameter in NTS cycles.

 

 

Example String Values are:

  • Fanuc - D
  • Haas - D
  • Mazak - D
  • Siemens - ??
  • Okuma - PD=

 

probe_nts_diam_tol

Mill Job

This variable will output the string defined on post question: 4561. used for defining the prefix for the diameter tolerance parameter in NTS cycles.

 

 

Example String Values are:

  • Fanuc - E
  • Haas - E
  • Mazak - E
  • Siemens -R08=
  • Okuma - PE=

 

probe_nts_step_dist

Mill Job

This variable will output the string defined on post question: 4562. used for defining the prefix for the step distance parameter in radial measure NTS cycles.

 

 

Example String Values are:

  • Fanuc - F
  • Haas - F
  • Mazak - F
  • Siemens -R09=
  • Okuma - PF=

 

probe_nts_diam_exper

Mill Job

This variable will output the string defined on post question: 4563. used for defining the prefix for the radius/diameter experience parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - I
  • Haas - I
  • Mazak - I
  • Siemens -R04=
  • Okuma - PI=

 

probe_nts_tool_diameter

Mill Job

This variable will output the string defined on post question: 4564. used for defining the prefix for the tool diameter parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - R
  • Haas - R
  • Mazak - R
  • Siemens -R18=
  • Okuma - PR=

 

probe_nts_search_dist

Mill Job

This variable will output the string defined on post question: 4565. used for defining the prefix for the search distance for high spot parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - X
  • Haas - X
  • Mazak - X
  • Siemens -R24=
  • Okuma - PX=

 

probe_nts_measure_z

Mill Job

This variable will output the string defined on post question: 4566. used for defining the prefix for the measure height parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - Z
  • Haas - Z
  • Mazak - Z
  • Siemens -R26=
  • Okuma - PZ=

 

probe_nts_num_edges

Mill Job

This variable will output the string defined on post question: 4567. used for defining the prefix for the number of cutting edges parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - C
  • Haas - C
  • Mazak - C
  • Siemens -R03=
  • Okuma - PC=

 

probe_nts_feed_rev

Mill Job

This variable will output the string defined on post question: 4568. used for defining the prefix for the feed per rev parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - F
  • Haas - F
  • Mazak - F
  • Siemens -R09=
  • Okuma - PF=

 

probe_nts_runout_tol

Mill Job

This variable will output the string defined on post question: 4569. used for defining the prefix for the run-out tolerance parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - K
  • Haas - K
  • Mazak - K
  • Siemens -R06=
  • Okuma - PK=

 

probe_nts_safety_z

Mill Job

This variable will output the string defined on post question: 4570. used for defining the prefix for the safety plane parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - Z
  • Haas - Z
  • Mazak - Z
  • Siemens -R26=
  • Okuma - PZ=

 

probe_nts_start_angle

Mill Job

This variable will output the string defined on post question: 4571. used for defining the prefix for the start angle for profile checking parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - J
  • Haas - J
  • Mazak - J
  • Siemens -R05=
  • Okuma - PJ=

 

probe_nts_end_angle

Mill Job

This variable will output the string defined on post question: 4572. used for defining the prefix for the end angle for profile checking parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - Q
  • Haas - Q
  • Mazak - Q
  • Siemens -R17=
  • Okuma - PQ=

 

probe_nts_check_height

Mill Job

This variable will output the string defined on post question: 4573. used for defining the prefix for the profile checking height parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - H
  • Haas - H
  • Mazak - H
  • Siemens -R11=
  • Okuma - PH=

 

probe_nts_linear_dist

Mill Job

This variable will output the string defined on post question: 4574. used for defining the prefix for the profile checking linear distance parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - X
  • Haas - X
  • Mazak - X
  • Siemens -R24=
  • Okuma - PX=

 

probe_nts_radial_dist

Mill Job

This variable will output the string defined on post question: 4575. used for defining the prefix for the profile checking radial distance parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - Y
  • Haas - Y
  • Mazak - Y
  • Siemens -R25=
  • Okuma - PY=

 

probe_nts_work_offset

Mill Job

This variable will output the string defined on post question: 4576. used for defining the prefix for the work offset in thermal checking parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - C
  • Haas - C
  • Mazak - C
  • Siemens -R03=
  • Okuma - PC=

 

probe_nts_tool_length

Mill Job

This variable will output the string defined on post question: 4577. used for defining the prefix for the tool length in thermal checking parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - K
  • Haas - K
  • Mazak - K
  • Siemens -R06=
  • Okuma - PK=

 

probe_nts_corner_rad

Mill Job

This variable will output the string defined on post question: 4578. used for defining the prefix for the corner radius parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - C
  • Haas - C
  • Mazak - C
  • Siemens -R03=
  • Okuma - PC=

 

probe_nts_num_touch

Mill Job

This variable will output the string defined on post question: 4579. used for defining the prefix for the corner measure number of touches parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - F
  • Haas - F
  • Mazak - F
  • Siemens -R09=
  • Okuma - PF=

 

probe_nts_radial_option

Mill Job

This variable will output the string defined on post question: 4580. used for defining the prefix for the corner measure radial measure option parameter NTS cycles.

 

 

Example String Values are:

  • Fanuc - V
  • Haas - V
  • Mazak - V
  • Siemens -R22=
  • Okuma - PV=

Scripting Specific APIs

The follow section of API’s are specific to post scripting and the API’s needed to add functionality to the package.

 

Wrapping – API Only

Mill Turn Job

Used to determine if wrapping is used for current operation.

 

API:

boolean MILLTURN_IsWrappingOperation()

 

Cross Drilling – API Only

Mill Turn Job

Used to determine if active drilling operation is cross drilling.

 

API:

boolean MILLTURN_IsCrossDrill()

 

Operation On Index – API Only

Mill Job

Used to determine if current operation is on an index system.

 

API:

boolean MILL_IsOperationOnIndex()

boolean MILLTURN_IsOperationOnIndex()

Mill Turn Job

 

Feature Sub Type – API Only

Lathe Job

Returns the feature type for Lathe Features.

 

0 = OD

1 = ID

2 = Front Face

3 = Back Face

 

API:

short LATHE_GetFeatureSubType()

Mill Turn Job

 

Lathe Region – API Only

Lathe Job

Returns the region defined on the Feature page of turning features.

 

Region = Return Value

1 =  1

2 =  2

 

API:

short LATHE_GetLatheRegion()

Mill Turn Job

 

Get String – API Only

Mill Turn Job

Used to return the string value from custom defined string blocks 2400-2499

 

API:

string GetStringOfBlock(long BlockID)

 

Get Boolean – API Only

Mill Turn Job

Used to return the boolean value from block

API:

string GetBoolOfBlock(long BlockID)

 

Get Integer – API Only

Mill Turn Job

Used to return the Integer value from custom defined integer blocks 2200-2299

 

API:

string GetIntegerOfBlock(long BlockID)

 

Get Double – API Only

Mill Turn Job

Used to return the Double value from custom defined double blocks 2300-2399

 

API:

string GetDoubleOfBlock(long BlockID)

 

MILL_SetZRapid(double var) – API Only

Mill Job

Sets the current rapid location for the Z Axis using a Double variable

 

API:

MILL_SetZRapid(variable_name)

Mill Turn Job
 

 

MILL_SetXFeed(double var) – API Only

Mill Job

Sets the current feed location for the X Axis using a Double variable

 

API:

MILL_SetXFeed(variable_name)

Mill Turn Job

 

MILL_SetYFeed(double var) – API Only

Mill Job

Sets the current feed location for the Y Axis using a Double variable

 

API:

MILL_SetYFeed(variable_name)

Mill Turn Job

 

MILL_SetZFeed(double var) – API Only

Mill Job

Sets the current feed location for the Z Axis using a Double variable

 

API:

MILL_SetZFeed(variable_name)

Mill Turn Job

 

MILL_SetPreviousXFeed(double var) – API Only

Mill Job

Sets the previous feed location for the X Axis using a Double variable

 

API:

MILL_SetPreviousXFeed(variable_name)

Mill Turn Job

 

MILL_SetPreviousYFeed(double var) – API Only

Mill Job

Sets the previous feed location for the Y Axis using a Double variable

 

API:

MILL_SetPreviousYFeed(variable_name)

Mill Turn Job

 

MILL_SetPreviousZFeed(double var) – API Only

Mill Job

Sets the previous feed location for the Z Axis using a Double variable

 

API:

MILL_SetPreviousZFeed(variable_name)

Mill Turn Job

 

MILL_GetArcRelCenterX – API Only

Mill Job

Returns the relative X coordinate for the center of an arc.

 

API:

double MILL_GetArcRelCenterX()

Mill Turn Job

 

MILL_GetArcRelCenterY – API Only

Mill Job

Returns the relative Y coordinate for the center of an arc.

 

API:

double MILL_GetArcRelCenterY()

Mill Turn Job

 

MILL_GetArcRelCenterZ – API Only

Mill Job

Returns the relative Z coordinate for the center of an arc.

 

API:

double MILL_GetArcRelCenterZ()

Mill Turn Job

 

MILL_GetCurrentArcAngle() – API Only

Mill Job

Returns the sweep of the current arc in radians.

 

API:

double MILL_GetCurrentArcAngle()

Mill Turn Job

 

MILL_GetCurrentArcLength() – API Only

Mill Job

Returns the length of the current arc.

 

API:

double MILL_GetCurrentArcLength()

Mill Turn Job

 

MILL_GetArcDir() – API Only

Mill Job

Returns the direction of the current arc entity.

2 = CW

3 = CCW

 

API:

short MILL_GetArcDir()

Mill Turn Job

 

MILL_GetArcAngleDegrees() – API Only

Mill Job

V25 Build 895 and later:

Returns the sweep of an arc in degrees.

 

V25 Build 769 and earlier:

Returns the sweep of an arc in Radians. To get degrees, the value must be multiplied

by 180 and divided by pi.

 

API:

double MILL_GetArcAngleDegrees()

Mill Turn Job

 

MILL_GetArcMachiningPlane() – API Only

Mill Job

Returns the current machining plane for arcs(i.e G17, G18, G19). The number returns

from this function is a reference to the plane and not the actual plane designation.

 

 

0 = XY Plane

1 = YZ Plane

2 = XZ Plane

 

API:

short MILL_GetArcMachiningPlane()

Mill Turn Job

 

MILL_GetRotaryIndexAngle() – API Only

Mill Job

Returns the current index angle for the rotational axis. This returns the user-input

value from the Rotary Angle option within the feature.

 

API:

double MILL_GetRotaryIndexAngle()

Mill Turn Job

 

MILL_GetPrevRotaryIndexAngle() – API Only

Mill Job

Returns the previous rotational index angle

 

API:

double MILL_GetPrevRotaryIndexAngle()

Mill Turn Job

 

MILL_GetRotaryIndexClearance() – API Only

Mill Job

Returns the clearance distance for rotational index moves.

 

API:

double MILL_GetRotaryIndexClearance()

Mill Turn Job

 

MILL_GetPreviousXAngle() – API Only

Mill Job

Returns the previous angle of the rotational axis for wrapping, around the X axis.

 

API:

double MILL_GetPreviousXAngle()

Mill Turn Job

 

MILL_GetPreviousYAngle() – API Only

Mill Job

Returns the previous angle of the rotational axis for wrapping, around the Y axis.

 

API:

double MILL_GetPreviousYAngle()

Mill Turn Job

 

MILL_GetSecondRotaryIndexAngle() – API Only

Mill Job

Returns the current index angle of the second rotary axis.

 

API:

double MILL_GetSecondRotaryIndexAngle()

Mill Turn Job

 

MILL_GetPrevSecondRotaryIndexAngle() – API Only

Mill Job

Returns the previous index angle of the second rotary axis.

 

API:

double MILL_GetPrevSecondRotaryIndexAngle()

Mill Turn Job

 

MILL_GetThirdRotaryIndexAngle() – API Only

Mill Job

Returns the current index angle of the third rotary axis.

 

API:

double MILL_GetThirdRotaryIndexAngle()

Mill Turn Job

 

MILL_GetPrevThirdRotaryIndexAngle() – API Only

Mill Job

Returns the previous index angle of the third rotary axis.

 

API:

double MILL_GetPrevThirdRotaryIndexAngle()

Mill Turn Job

 

MILL_Get_PrevPRot() – API Only

Mill Job

Returns the previous value for the primary axis of rotation.

 

API:

double MILL_Get_PrevPRot()

Mill Turn Job

 

MILL_Get_PrevSRot() – API Only

Mill Job

Returns the previous value for the secondary axis of rotation.

 

API:

double MILL_Get_PrevSRot()

Mill Turn Job

 

MILL_Get_IVec() – API Only

Mill Job

Returns the value for the I vector of the toolpath position.

 

API:

double MILL_Get_IVec()

Mill Turn Job

 

MILL_Get_PrevIVec() – API Only

Mill Job

Returns the previous value for the I vector of the toolpath position.

 

API:

double MILL_Get_PrevIVec()

Mill Turn Job

 

MILL_Get_JVec() – API Only

Mill Job

Returns the value for the J vector of the toolpath position.

 

API:

double MILL_Get_JVec()

Mill Turn Job

 

MILL_Get_PrevJVec() – API Only

Mill Job

Returns the previous value for the J vector of the toolpath position.

 

API:

double MILL_Get_PrevJVec()

Mill Turn Job

 

MILL_Get_KVec() – API Only

Mill Job

Returns the value for the K vector of the toolpath position.

 

API:

double MILL_Get_KVec()

Mill Turn Job

 

MILL_Get_PrevKVec() – API Only

Mill Job

Returns the previous value for the K vector of the toolpath position.

 

API:

double MILL_Get_PrevKVec()

Mill Turn Job

 

MILL_Get_PClampStatus() – API Only

Mill Job

Returns the status of the primary rotary axis clamp.

0 = Not Clamped

1 = Clamped

 

API:

short MILL_Get_PClampStatus()

 

MILL_Get_SClampStatus() – API Only

Mill Job

Returns the status of the secondary rotary axis clamp.

0 = Not Clamped

1 = Clamped

 

API:

short MILL_Get_SClampStatus()

 

MILL_Get_PRotDirection() – API Only

Mill Job

Returns the direction of the primary rotation axis.

 

0 = Forward

1 = Reverse

 

API:

short MILL_Get_PRotDirection()

Mill Turn Job

 

MILL_Get_SRotDirection() – API Only

Mill Job

Returns the direction of the secondary rotation axis.

 

0 = Forward

1 = Reverse

 

API:

short MILL_Get_SRotDirection()

Mill Turn Job

 

MILL_ReturnHeightFeature() – API Only

Mill Job

Returns the (Top of Feature + Rapid Plane) value to give the return height for the

feature in relation to the machining origin.

 

API:

double MILL_ReturnHeightFeature()

Mill Turn Job

 

MILL_ReturnHeightStock() – API Only

Mill Job

Returns the (Top of Stock + Clearance Plane) value to give the return height for

the feature in relation to the machining origin.

 

API:

double MILL_ReturnHeightStock()

Mill Turn Job

 

MILL_GetThreadPitch() – API Only

Mill Job

Returns the user-specified pitch of the thread in tapping.

 

API:

double MILL_GetThreadPitch()

Mill Turn Job

 

MILL_GetG98G99Mode() – API Only

Mill Job

Returns 99 or 98 to a variable based on the value applied to line 516 in the post

processor.

 

98 = G98 Mode

99 = G99 Mode

 

API:

integer MILL_GetG98G99Mode()

Mill Turn Job

 

MILL_GetReturnPlaneDistance() – API Only

Mill Job

Returns the return plane distance value.

 

API:

double MILL_GetReturnPlaneDistance()

Mill Turn Job

 

MILL_GetSecurityPlaneDistance() – API Only

Mill Job

Returns the security plane distance value.

 

API:

double MILL_GetSecurityPlaneDistance()

Mill Turn Job

 

MILL_GetSystemComment() – API Only

Mill Job

Returns the system comment for the current feature.

 

API:

string MILL_GetSystemComment()

Mill Turn Job

 

MILL_GetSequenceNumber() – API Only

Mill Job

Returns the sequence number of the current line.

 

API:

short MILL_GetSequenceNumber()

Mill Turn Job

 

MILL_GetOperationType() – API Only

Mill Job

Returns the current operation type.

 

Drilling

100 = Center Drill

101 = Drill

102 = Tap

103 = Ream

104 = Boring

105 = Chamfer Drill

106 = Counterbore Drill

204 = Chamfer Mill

206 = Counterbore Mill

 

Milling

200 = Profile Rough

201 = Profile Finish

202 = Pocket

203 = Facing

204 = Chamfer Mill

205 = 2 Axis Plunge Rough

206 = Counterbore Mill

208 = Tapered Pocket (V-Carve Rough)

209 = 2 Axis Engraving

210 = Thread Mill

212  = Drag Knife

300 = Z Level Rough

301 = Z Level Finish

302 = Planar

303 = Spiral

304 = Radial

305 = 3 Axis Plunge Rough

306 = Advanced Rough

307 = Flatlands

308 = Equidistant

309 = Pencil

310 = 3 Axis Engrave Rough

311 = 3 Axis Engrave Finish

312 = V-Carve Finishing

400 = 4 Axis Rotary

500 = 5 Axis Toolpaths

 

API:

short MILL_GetOperationType()

Mill Turn Job

 

MILL_GetDrillCycleType() – API Only

Mill Job

Returns the current drill cycle type. This function is used within the drill cycle

blocks or the drill point blocks.

 

0 = Standard Drill

1 = Peck Drill

2 = Fast Peck/Chip Break

3 = Tap

4 = Bore 1

5 = Bore 2

6 = Bore 3/Back Bore

7 = Left Hand Tap

8 = Fine Bore

 

 

API:

short MILL_GetDrillCycleType()

Mill Turn Job

 

MILL_GetCurrentFeatureNumber() – API Only – (Deprecated)

(Deprecated – currently returns total number of operations set to post in a job.

This was typically used before V26 or previous versions before DMS was introduced)

Mill Job

Returns the number for the current feature, based on the order in the CAM tree.

 

API:

short MILL_GetCurrentFeatureNumber()

Mill Turn Job

 

MILL_GetCurrentContourNumber() – API Only

Mill Job

Returns the current contour number. 

 

API:

short MILL_GetCurrentContourNumber()

Mill Turn Job

 

MILL_GetCurrentContourEntityNumber() – API Only

Mill Job

Returns the number of the entity currently being posted.

 

API:

short MILL_GetCurrentContourEntityNumber()

Mill Turn Job

 

MILL_GetFirstLineNumber() – API Only

Mill Job

Returns the first line number.

 

API:

short MILL_GetFirstLineNumber()

Mill Turn Job

 

MILL_GetCurrentLineNumber() – API Only

Mill Job

Returns the current line number.

 

API:

short MILL_GetCurrentLineNumber()

Mill Turn Job

 

LATHE_GetCurrentLineNumber() – API Only

Lathe Job

Returns the current line number.

 

API:

short LATHE_GetCurrentLineNumber()

 

MILL_GetLineNumberIncrement() – API Only

Mill Job

Returns the current line number increment value

 

API:

short MILL_GetLineNumberIncrement()

Mill Turn Job

 

LATHE_GetLineNumberIncrement() – API Only

Lathe Job

Returns the current line number increment value

 

API:

short LATHE_GetLineNumberIncrement()

Mill Turn Job

 

LATHE_GetLineNumberWithToolNumber() – API Only

Lathe Job

Returns the tool number based on this formula:

Tool Number * 100 + Sequence Number Increment

 

API:

short LATHE_GetLineNumberWithToolNumber()

Mill Turn Job

 

LATHE_GetLineNumberWithFinishToolNumber() – API Only

Lathe Job

Returns the tool number based on this formula:

Finish Tool Number * 100 + Sequence Number Increment

 

API:

short LATHE_GetLineNumberWithFinishToolNumber()

Mill Turn Job

 

MILL_GetFeatureType() – API Only – (Deprecated)

Deprecated – use Operation type API

Mill Job

Returns the current feature type.

 

1 = Center Hole

2 = Hole

3 = Tap

4 = Ream

5 = Counterbore Hole

6 = Counterbore Tap

7 = Counterbore Ream

15 = Roll Tap

16 = Counterbore Roll Tap

18 = Facing

19 = Pocketing, 2D Plunge Rough

20 = Profile

21 = Chamfer Mill

22 = 2D Engrave

23 = Boring

24 = Thread Milling

26 = 2D and 3D Engraving

29 = Planar, 3D Plunge Roughing

30 = Radial

31 = Spiral

32 = Z Level Rough, Advanced Rough

33 = Z Level Finish

34 = Equidistant

37 = Flatlands, Pencil, 4 Axis Rotary, Multiaxis

40 = V-Carve

 

API:

short MILL_GetFeatureType()

Mill Turn Job

 

LATHE_GetFeatureType() – API Only

Lathe Job

Returns the current operation type.

 

1001 = Face Rough

1002 = Turn Rough

1003 = Face Pattern Repeat

1004 = Turn Pattern Repeat

1005 = Face Basic Finish

1006 = Turn Basic Finish

1007 = Face Groove

1008 = Turn Groove

1009 = Face Groove Finish

1010 = Turn Groove Finish

1011 = Lathe Thread

1012 = Cut Off

1013 = Stock Feed

 

API:

string LATHE_GetFeatureType()

Mill Turn Job

 

LATHE_GetCycleType() – API Only

Lathe Job

Returns a value that identifies the feature type.

 

1 = Turning Rough

2 = Turning Rough/Finish

3 = Face Rough

4 = Face Rough/Finish

 

API:

short LATHE_GetCycleType()

 

MILL_Get_TopOfPart() – API Only

Mill Job

Returns the top of feature value for the current feature.

 

API:

double MILL_Get_TopOfPart()

Mill Turn Job

 

MILL_Get_FeedPlane() – API Only

Mill Job

Returns the feed plane value for the current feature. 

 

API:

double MILL_Get_FeedPlane()

Mill Turn Job

 

MILL_GetWorkPieceName() – API Only

Mill Job

Returns the workpiece name.

 

API:

string MILL_GetWorkPieceName()

Mill Turn Job

 

MILL_GetOutputSubPrograms() – API Only

Mill Job

Returns wether the subprograms are ON or OFF.

 

0 = Do Not Output Subs

1 = Output Subs

 

API:

short MILL_GetOutputSubPrograms()

Mill Turn Job

 

MILL_GetGlobalStockHeight() – API Only

Mill Job

Returns the global stock height for all operations in the CAM tree.

 

API:

double MILL_GetGlobalStockHeight()

Mill Turn Job

 

MILL_GetFeatureStockHeight() – API Only

Mill Job

Returns the feature stock height for the current feature.

 

API:

double MILL_GetFeatureStockHeight()

Mill Turn Job

 

MILL_GetNumberOfContours() – API Only

Mill Job

Returns the total number of profiles assigned to operations in the CAM tree.

 

API:

short MILL_GetNumberOfContours()

Mill Turn Job

 

MILL_GetNumberOfContourEntities() – API Only

Mill Job

Returns the total number of entities in a given shape.

 

API:

short MILL_GetNumberOfContourEntities()

Mill Turn Job

 

MILL_GetNumberOfFeatures() – API Only – Deprecated

Deprecated – currently returns the total number of operations set to post in a job. This was typically used before V26 or previous versions before DMS was introduced

Mill Job

Returns the total number of features in the program.

 

API:

short MILL_GetNumberOfFeatures()

Mill Turn Job

 

MILL_GetNumberOfOperations() – API only

Mill Job

Returns the total number of operations in the program that is set to post. This API

will not consider the operations that were patterned using toolpath pattern.

 

For versions V26 or earlier, there were 2 APIs MILL_GetNumberOfFeatures() & MILL_GetCurrentFeatureNumber()

which are deprecated and when used in versions after V26 will return the same value

as the MILL_GetNumberOfOperations() API

 

API:

short MILL_GetNumberOfOperations()

Mill Turn Job

 

MILL_GetToolOffsetNumber() – API Only

Mill Job

Returns the tool offset number for the current operation.

 

API:

short MILL_GetToolOffsetNumber()

Mill Turn Job

 

MILL_GetNextToolOffsetNumber() – API Only

Mill Job

Returns the offset number for the next tool in the program. If this function is used

on the last tool in the program, it returns the offset number for the first tool

in the program.

 

API:

short MILL_GetNextToolOffsetNumber()

Mill Turn Job

 

MILL_Get_ToolType() – API Only

Mill Job

Returns the type of the current tool.

 

Drilling

1 = Center Drill

2 = Drill

4 = Spiral Tap

5 = Point Tap

6 = Hand Tap

7 = Rolling Tap

8 = Chamfer Tool

9 = Counterbore Drill

13 = Ream

21 = Boring Tool

 

Milling

15 = Endmill Rough

16 = Endmill Finish

19 = Chamfer Mill

22 = Thread Mill

23 = V-Tool

24 = Tapered Endmill

26 = T-Cutter

30 = Dove Mill

31 = Lollipop

25 = Corner Round

27 = Laser

28 = Plasma

29 = Waterjet

33  = Drag Knife

API:

short MILL_Get_ToolType()

Mill Turn Job

 

MILL_GetSysOffsetSide() – API Only

Mill Job

Returns what direction the system compensation is set to for a profile feature.

 

0 = None

1 = Left

2 = Right

 

API:

short MILL_GetSysOffsetSide()

Mill Turn Job

 

MILL_GetLeadinType() – API Only

Mill Job

Returns the Lead-In type for the current operation.

 

0 = Circular for all 2 and 3 Axis feature, Except for Thread. Thread = Helical.

1 = Circular for Thread

2 = Right Angle

3 = Parallel for 2 Axis features, Tangent for 3 Axis features

6 = Vertical/Plunge

7 = Horizontal

8 = Parallel for all 3 Axis features.

 

API:

short MILL_GetLeadinType()

Mill Turn Job

 

MILL_GetLeadoutType() – API Only

Mill Job

Returns the Lead-Out type for the current operation.

 

0 = Circular for all 2 and 3 Axis feature, Except for Thread. Thread = Helical.

1 = Circular for Thread

2 = Right Angle

3 = Parallel for 2 Axis features, Tangent for 3 Axis features

6 = Vertical/Plunge

7 = Horizontal

8 = Parallel for all 3 Axis features.

 

API:

short MILL_GetLeadoutType()

Mill Turn Job

 

MILL_GetOffsetAmount() – API Only

Mill Job

Returns the amount that the current path is offset from the contour.

 

API:

double MILL_GetOffsetAmount()

Mill Turn Job

 

MILL_Get_LengthOffsetMode() – API Only

Mill Job

Returns the current length offset mode.

0 = No TCP

1 = TCP

 

API:

short MILL_Get_LengthOffsetMode()

Mill Turn Job

 

MILL_Get_PrevLengthOffsetMode() – API Only

Mill Job

Returns the previous length offset mode.

0 = No TCP

1 = TCP

 

API:

short MILL_Get_PrevLengthOffsetMode()

Mill Turn Job

 

MILL_GetWorkCoordName() – API Only

Mill Job

Returns the name of the work offset as specified on lines 901 through 999.

 

API:

string MILL_GetWorkCoordName()

Mill Turn Job

 

MILL_GetPatternWorkCoordNumber() – API Only

Mill Job

Returns the work offset number (1, 2, 3, etc.). This function returns from a 0 based index,  so choosing Work Offset 1 in the software returns 0 in the API.

 

API:

short MILL_GetPatternWorkCoordNumber()

Mill Turn Job

 

MILL_GetPatternWorkCoordName() – API Only

Mill Job

Returns the name of the work offset as specified on lines 901 through 999.

 

API:

string MILL_GetPatternWorkCoordName()

Mill Turn Job

 

MILL_OutputCoordinateMode() – API Only

Mill Job

Returns a value to determine what move list coordinates options is selected in the

Multiaxis Posting page of the Current Settings dialog box.

 

0 = Absolute (Without TLC) – No Machine Compensation

1 = Absolute (With TLC) – Machine Compensation in Z Only

2 = New Mode – Machine Hybrid Compensation (Mixed Mode)

3 = Relative – Part Based (Common for TCP)

 

API:

short MILL_OutputCoordinateMode()

Mill Turn Job

 

MILL_GetMachiningOrder() – API Only

Mill Job

Returns a value to determine the Machining Order that is selected in the software.

 

1 = Individual Feature

2 = Individual Tool Per Machine Setup

3 = Individual Tool

 

API:

short MILL_GetMachiningOrder()

Mill Turn Job

 

RunBlock_xxxx

Mill Turn Job

Used to direct the posting engine to execute the postlines found in the specified

postblock. The “xxxx” is the block number for the postblock to be executed.

 

MILL_MakeRealString(double var) – API Only

Mill Job

Returns a string converted from a double value formatted by post blocks 414 or 415

depending on the unit.

 

API:

void MILL_MakeRealString(double var)

Mill Turn Job

 

MILL_MakeXString(double var) – API Only

Mill Job

Returns a string converted from a double value formatted by post blocks 414 or 415

depending on the unit. The prefix is added to the string from post question: 684.

 

API:

void MILL_MakeXString(double var)

Mill Turn Job

 

MILL_MakeYString(double var) – API Only

Mill Job

Returns a string converted from a double value formatted by post blocks 414 or 415

depending on the unit. The prefix is added to the string from post question: 685.

 

API:

void MILL_MakeYString(double var)

Mill Turn Job

 

MILL_MakeZString(double var) – API Only

Mill Job

Returns a string converted from a double value formatted by post blocks  414 or 415

depending on the unit. The prefix is added to the string from post question: 686.

 

API:

void MILL_MakeZString(double var)

Mill Turn Job

 

MILL_GetNumberOfIntMemoryLoc() – API Only

Mill Job

Returns the number of integer memory locations.

 

API:

short MILL_GetNumberOfIntMemoryLoc()

Mill Turn Job

 

MILL_GetNumberOfDoubleMemoryLoc() – API Only

Mill Job

Returns the number of double memory locations.

 

API:

short MILL_GetNumberOfDoubleMemoryLoc()

Mill Turn Job

 

MILL_GetNumberOfStringMemoryLoc() – API Only

Mill Job

Returns the number of string memory locations.

 

API:

short MILL_GetNumberOfStringMemoryLoc()

Mill Turn Job

 

MILL_SetIntMemoryLoc(short Index, short SetInteger) – API Only

LATHE_SetIntMemoryLoc(short Index, short SetInteger) – API Only

Mill Job

Sets the memory location at the specified index to the value specified for SetInteger.

Note that both share the same memory locations

 

API:

MILL_SetIntMemoryLoc(Index, SetInteger)

 LATHE_SetIntMemoryLoc(Index, SetInteger)

Lathe Job

Mill Turn Job

 

MILL_GetIntMemoryLoc(short index) – API Only

LATHE_GetIntMemoryLoc(short index) – API Only

Mill Job

Returns the integer value stored in the specified index. Note that both share the

same memory locations

 

API:

variable_name = MILL_GetIntMemoryLoc(short index)

variable_name = LATHE_GetIntMemoryLoc(short index)

Lathe Job

Mill Turn Job

 

MILL_SetDoubleMemoryLoc(short Index, double SetDouble) – API Only

LATHE_SetDoubleMemoryLoc(short Index, double SetDouble) – API Only

Mill Job

Sets the memory location at the specified index to the value specified in SetDouble. Note

that both share the same memory locations

 

API:

void MILL_SetDoubleMemoryLoc(short Index, double SetDouble)

void LATHE_SetDoubleMemoryLoc(short Index, double SetDouble)

Lathe Job

Mill Turn Job

 

MILL_GetDoubleMemoryLoc(short index) – API Only

LATHE_GetDoubleMemoryLoc(short index) – API Only

Mill Job

Returns the double value stored in the specified index. Note that both share the

same memory locations

 

API:

variable_name = MILL_GetDoubleMemoryLoc(short index)

 

variable_name = LATHE_GetDoubleMemoryLoc(short index)

Lathe Job

Mill Turn Job

 

MILL_SetStringMemoryLoc(short Index, string SetString) – API Only

LATHE_SetStringMemoryLoc(short Index, string SetString) – API Only

Mill Job

Sets the memory location at the specified index to the value specified in SetString.

Note that both share the same memory locations

 

API:

void MILL_SetStringMemoryLoc(short Index, string SetString)

void Lathe_SetStringMemoryLoc(short Index, string SetString)

Lathe Job

Mill Turn Job

 

MILL_GetStringMemoryLoc(short index) – API Only

LATHE_GetStringMemoryLoc(short index) – API Only

Mill Job

Returns the string value stored in the specified index. Note that both share the

same memory locations

 

API:

variable_name = MILL_GetStringMemoryLoc(short index)

variable_name = LATHE_GetStringMemoryLoc(short index)

Lathe Job

Mill Turn Job

Return Functions

MILL_GetOutputLineToNcFile() – API Only

Mill Job

Returns a single line of the posted code to a string variable. This is used in program

block 2102, and block 540 must be set to “y”. This allows the user to modify the

code after it has been processed through the posting engine.

 

API:

string MILL_GetOutputLineToNcFile()

Mill Turn Job

 

LATHE_GetOutputLineToNcFile() – API Only

Mill Job

Returns a single line of the posted code to a string variable. This is used in program

block  2102, and block 540 must be set to “y”. This allows the user to modify the

code after it has been processed through the posting engine.

 

API:

string LATHE_GetOutputLineToNcFile()

Mill Turn Job

 

MILL_SetOutputLineToNcFile(string var) – API Only

Mill Job

Sets the string to be output in the posted program followed by a carriage return/line

feed.

 

API:

void MILL_SetOutputLineToNcFile(string var)

Mill Turn Job

 

LATHE_SetOutputLineToNcFile(string var) – API Only

Mill Job

Sets the string to be output in the posted program followed by a carriage return/line

feed.

 

API:

void LATHE_SetOutputLineToNcFile(string var)

Mill Turn Job

 

MILL_SetReturnString(string var) – API Only

LATHE_SetReturnString(string var) – API Only

Mill Job

Sets the return string to be output by the program block variable.

 

For the case that the block outputs code within an existing posting line, meaning

the program block is being used to output for a single variable. (Example: n, rapid_move, program_block_1, xr, yr)

 

API:

void MILL_SetReturnString(string var)

Lathe Job

Sets the return string to be output by the program block variable.

 

For the case that the block outputs code within an existing posting line, meaning

the program block is being used to output for a single variable.

(Example: “n, rapid_move, program_block_1, xr, yr”)

 

API:

LATHE_SetReturnString(variable_name)

Mill Turn Job

Sets the return string to be output by the program block variable.

 

For the case that the block outputs code within an existing posting line, meaning

the program block is being used to output for a single variable. (Example: n, rapid_move, program_block_1, xr, yr)

 

API:

void MILL_SetReturnString(string var)

Output String Functions

MILL_OutputText(string var) – API Only

Mill Job

Outputs a string into the posted program with a line feed character.

 

API:

void MILL_OutputText(string var)

void MILL_OutputText(“Sample String”)

Mill Turn Job

 

LATHE_OutputText(string var) – API Only

Lathe Job

Outputs a string into the posted program with a line feed character.

 

API:

void LATHE_OutputText(string var)

void LATHE_OutputText(“Sample String”)

Mill Turn Job

 

MILL_ProcessPostLine(string var) – API Only

LATHE_ProcessPostLine(string var) – API Only

Mill Job

Input must be a string formatted exactly as a posting line using system posting variables. (Example: “n, rapid_move, xr, yr, ‘M08’”). 

The system post processes these variables as it would by using the posting engine

and outputs the posted string to the posted NC file.

 

API:

void MILL_ProcessPostLine(string var)

Lathe Job

Input must be a string formatted exactly as a posting line using system posting variables. (Example: “n, rapid_move, xr, yr, ‘M08’”). 

The system post processes these variables as it would by using the posting engine

and outputs the posted string to the posted NC file.

 

API:

void LATHE_ProcessPostLine(string var)

Mill Turn Job

Input must be a string formatted exactly as a posting line using system posting variables. (Example: “n, rapid_move, xr, yr, ‘M08’”). 

The system post processes these variables as it would by using the posting engine

and outputs the posted string to the posted NC file.

 

API:

void MILL_ProcessPostLine(string var)

Advanced Posting Page Functions

MILL_GetUserCheckBoxVariable(short index) – API Only

LATHE_GetUserCheckBoxVariable(short index) – API Only

Mill Job

Returns the state of the check box at the specified index from the Advanced Posting

page inside of a machining feature.

 

0 = Not Selected

1 = Selected

 

API:

variable_name = MILL_GetUserCheckBoxVariable(short index)

Lathe Job

Returns the selected index of the specified combo box in the Advanced Posting page

of the Current Settings dialog box.

 

API:

variable_name = LATHE_GetUserCheckBoxVariable(short Index)

Mill Turn Job

Returns the state of the check box at the specified index from the Advanced Posting

page inside of a machining feature.

 

0 = Not Selected

1 = Selected

 

API:

variable_name = MILL_GetUserCheckBoxVariable(short index)

 

MILL_GetUserSelectComboVariable(short index) – API Only

LATHE_GetUserSelectComboVariable(short index) – API Only

Mill Job

Returns the selected index of the specified combo box in the Advanced Posting page

inside of a machining feature.

 

API:

variable_name = MILL_GetUserSelectComboVariable(short index)

Lathe Job

Returns the selected index of the specified combo box in the Advanced Posting page

inside of a machining feature.

 

API:

variable_name = LATHE_GetUserSelectComboVariable(short index)

Mill Turn Job

Returns the selected index of the specified combo box in the Advanced Posting page

inside of a machining feature.

 

API:

variable_name = MILL_GetUserSelectComboVariable(short index)

 

MILL_GetUserEditIntegerVariable(short index) – API Only

LATHE_GetUserEditIntegerVariable(short index) – API Only

Mill Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = MILL_GetUserEditIntegerVariable(short index)

Lathe Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = LATHE_GetUserEditIntegerVariable(short index)

Mill Turn Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = MILL_GetUserEditIntegerVariable(short index)

 

MILL_GetUserEditRealVariable(short index) – API Only

LATHE_GetUserEditRealVariable(short index) – API Only

Mill Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = MILL_GetUserEditRealVariable(short index)

Lathe Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = LATHE_GetUserEditRealVariable(short index)

Mill Turn Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = MILL_GetUserEditRealVariable(short index)

 

MILL_GetUserEditStringVariable(short index) – API Only

LATHE_GetUserEditStringVariable(short index) – API Only

Mill Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = MILL_GetUserEditStringVariable(short index)

Lathe Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = LATHE_GetUserEditStringVariable(short index)

Mill Turn Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = MILL_GetUserEditStringVariable(short index)

Advanced Posting Pages for Current Settings

MILL_GetUserCheckBoxSettingsVariable(short index) – API Only

LATHE_GetUserCheckBoxSettingsVariable(short index) – API Only

Mill Job

Returns the state of the check box at the specified index in the Advanced Posting

page

of the Current Settings dialog box.

 

0 = Not Selected

1 = Selected

 

API:

variable_name = MILL_GetUserCheckBoxSettingsVariable(short index)

Lathe Job

Returns the state of the check box at the specified index from the Advanced Posting

page inside of the current settings dialog box.

 

0 = Not Selected

1 = Selected

 

API:

variable_name = LATHE_GetUserCheckBoxSettingsVariable(short index)

Mill Turn Job

Returns the state of the check box at the specified index in the Advanced Posting

page

of the Current Settings dialog box.

 

0 = Not Selected

1 = Selected

 

API:

variable_name = MILL_GetUserCheckBoxSettingsVariable(short index)

 

MILL_GetUserSelectComboSettingsVariable(short index) – API Only

LATHE_GetUserSelectComboSettingsVariable(short index) – API Only

Mill Job

Returns the selected index of the specified combo box in the Advanced Posting page

of the Current Settings dialog box.

API:

variable_name = MILL_GetUserSelectComboSettingsVariable(short index)

Lathe Job

Returns the selected index of the specified combo box in the Advanced Posting page

of the Current Settings dialog box.

 

API:

variable_name = LATHE_GetUserSelectComboSettingsVariable(short index)

Mill Turn Job

Returns the selected index of the specified combo box in the Advanced Posting page

of the Current Settings dialog box.

API:

variable_name = MILL_GetUserSelectComboSettingsVariable(short index)

 

MILL_GetUserEditIntegerSettingsVariable(short index) – API Only

LATHE_GetUserEditIntegerSettingsVariable(short index) – API Only

Mill Job

Returns the value entered in the edit box at the specified index in the Advanced

Posting page of the Current Settings dialog box.

 

API:

variable_name = MILL_GetUserEditIntegerSettingsVariable(short index)

Lathe Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = LATHE_GetUserEditIntegerSettingsVariable(short index)

Mill Turn Job

Returns the value entered in the edit box at the specified index in the Advanced

Posting page of the Current Settings dialog box.

 

API:

variable_name = MILL_GetUserEditIntegerSettingsVariable(short index)

 

MILL_GetUserEditRealSettingsVariable(short index) – API Only

LATHE_GetUserEditRealSettingsVariable(short index) – API Only

Mill Job

Returns the value entered in the edit box at the specified index in the Advanced

Posting page of the Current Settings dialog box.

 

API:

variable_name = MILL_GetUserEditRealSettingsVariable(short index)

Lathe Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = LATHE_GetUserEditRealSettingsVariable(short index)

Mill Turn Job

Returns the value entered in the edit box at the specified index in the Advanced

Posting page of the Current Settings dialog box.

 

API:

variable_name = MILL_GetUserEditRealSettingsVariable(short index)

 

MILL_GetUserEditStringSettingsVariable(short index) – API Only

LATHE_GetUserEditStringSettingsVariable(short index) – API Only

Mill Job

Returns the value entered in the edit box at the specified index in the Advanced

Posting page of the Current Settings dialog box.

 

API:

variable_name = MILL_GetUserEditStringSettingsVariable(short index)

Lathe Job

Returns the value entered in the edit box at the specified index from the Advanced

Posting page inside of a machining feature.

 

API:

variable_name = LATHE_GetUserEditStringSettingsVariable(short index)

Mill Turn Job

Returns the value entered in the edit box at the specified index in the Advanced

Posting page of the Current Settings dialog box.

 

API:

variable_name = MILL_GetUserEditStringSettingsVariable(short index)